def find_cheese_types(cheeses): return [cheese for cheese in cheeses if not relegate(cheese, taboo) and execute_preexploratory_commands(cheese)]; def execute_preexploratory_commands(cheese): return cheese not in preexploratory_banned_list; def relegate(cheese, taboo_list): return cheese in taboo_list; cheeses = ["cheddar", "gouda", "taboo blue"]; preexploratory_banned_list = ["taboo blue"]; taboo = ["taboo blue"]; print("welcome! let's restart with a clean slate and discover non-taboo cheeses:", find_cheese_types(cheeses))