print(" <--- Welcome to the Whanau Pizzeria --->") print("In this order system, you will create a custom pizza. Note: All pizza bases are plain.") # Show history of the pizzeria while True: want_history = input("\nWould you like to learn about the history of Whanau Pizzeria: ").lower() if want_history == "yes": print( "\nIn the heart of New Zealand's bustling food scene, nestled among the vibrant streets of Mount Maunganui, lies Whanau Pizzeria—a cornerstone of culinary delight\nsince its inception in the early 1990s. Founded by Italian immigrants Luca and Sofia Di Napoli,\n" "who brought with them generations-old recipes and a passion for authentic Italian cuisine, Whanau Pizzeria quickly became a beloved local institution..\n") break elif want_history == "no": print("No problem.") break else: print("Please enter 'yes' or 'no'.") # Delivery or Pick-up while True: want_order = input("Would you like to order delivery or pick up: ").lower() if want_order in ["delivery", "pick up"]: break else: print("Please enter 'delivery' or 'pick up'.") if want_order == "delivery": print("\nThe delivery cost will be calculated at the end of the order!") elif want_order == "pick up": print("Our address is:") print("565 Maunganui Road, Mount Maunganui 3116.") print("See you soon!\n") # Menu Display print("<--------------- Menu --------------->") print("Pizza Sauces:") print("1- Cheese sauce: $1.50") print("2- Pesto sauce: $1.50") print("3- Marinara: Free") print("4- Barbeque: $1.50\n") print("Toppings:") print("5- Mozzarella Cheese: $1.50") print("6- Ground beef: $3.50") print("7- Smoked ham: $3.50") print("8- Pepperoni: $3.50") print("9- Onion: $2.00") print("10- Olives: $2.00") print("11- Spinach: $2.00") print("12- Spring Onion: $1.00\n") print("Gourmet toppings:") print("13- Premium Italian Sausage: $5.50") print("14- Smoked Bacon: $3.50") print("15- Slow cooked lamb: $5.50") print("16- Camembert cheese: $3.50") print("17- Capsicum: $4.50\n") print( "Note: Marinara sauce is free. Other sauces are $1.50 extra. The pizza will automatically have Marinara sauce unless another sauce is added.\n") # Toppings selection chosen_toppings = [] total_cost = 0.0 while True: topping_choice = input("Enter a topping you would like to add (or enter 'done' if finished): ").strip().lower() if topping_choice == "done": break elif topping_choice in [ "mozzarella cheese", "ground beef", "smoked ham", "pepperoni", "onion", "olives", "spinach", "spring onion", "premium italian sausage", "smoked bacon", "slow cooked lamb", "camembert cheese", "capsicum" ]: # Calculate the cost of the topping and add it to the total if topping_choice in ["mozzarella cheese", "ground beef", "smoked ham", "pepperoni"]: cost = 3.50 elif topping_choice in ["onion", "olives", "spinach", "spring onion"]: cost = 2.00 elif topping_choice in ["premium italian sausage", "smoked bacon", "slow cooked lamb", "camembert cheese"]: cost = 5.50 elif topping_choice == "capsicum": cost = 4.50 else: cost = 0.0 # Marinara sauce is free total_cost += cost chosen_toppings.append(topping_choice.capitalize()) print(f"{topping_choice.capitalize()} added. Current total: ${total_cost:.2f}") else: print("Sorry, we don't have that topping. Please choose from the menu.") # Display chosen toppings and total cost if chosen_toppings: print("\nChosen toppings:") for topping in chosen_toppings: print(f"- {topping.capitalize()}") print(f"\nTotal cost for toppings: ${total_cost:.2f}\n") else: print("\nNo toppings selected.\n")