# --- Pizza Menu Stored in Code --- pizza_menu = [ ["Margherita", 8.50], ["Pepperoni", 9.00], ["BBQ Chicken", 10.00], ["Veggie Delight", 9.00], ["Meatlovers", 11.50], ["Hawaiian", 9.50], ["Cheeseburger", 10.00], ["Chicken Cranberry", 11.00], ["Beef & Onion", 9.50], ["Garlic & Cheese", 8.00] ] # --- Function to display the pizza menu --- def display_menu(): print("\n--- Pizza Menu ---") for i, item in enumerate(pizza_menu, 1): print(f"{i}. {item[0]} - ${item[1]:.2f}") # --- Function to make sure input is not blank --- def not_blank(question): while True: response = input(question).strip() if response != "": return response print("This can't be blank. Try again.") # --- Get customer details (only name for now) --- def get_customer_details(): name = not_blank("Enter your name: ").capitalize() return {"name": name} # --- Main program --- def main(): print("Welcome to the Pizza Ordering System (v1)") display_menu() customer = get_customer_details() print("\n--- Summary ---") print(f"Customer: {customer['name']}") main()