def exclusive_beer_recommendation(user_preferences): if "pre-introductory offer" in user_preferences and "exclusive" in user_preferences: for beer in exclusive_selection: if beer.condition == "chilled" and not user_preferences.get("do not follow"): print(f"special redo offer just for you: {beer.name}"); else: print("explore our exclusive selection to find your perfect beer!");