Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def menu():
- print("|------------------------------------------------| \n")
- print(" Deluxe Pizzas\n")
- print("|------------------------------------------------| \n")
- print(" |1| Super Supreme - $10.50 (Large):")
- print("peperoni, ham, cabanossi, mushroom, onion, capsicum, pineapple & mozzarella\n")
- print(" |2| Meat Lovers - $10.50 (Large):")
- print("peperoni, ,beef, ham, cabanossi, bacon & mozzarella\n")
- print(" |3| BBQ Chicken & Bacon - $10.50 (Large):")
- print("chicken, onion, bacon & mozzarella with bbq swirl\n")
- print(" |4| Apricot Chicken - $10.50 (Large):")
- print("chicken, onion, capsicum & mozzarella with apricot swirl\n")
- print(" |5| Satay Chicken - $10.50 (Large):")
- print("chicken, onion, mushroom, capsicum & mozzarella with satay swirl\n")
- print(" |6| Pepperoni Feast - $10.50 (Large):")
- print("pepperoni, onion, tomato, oregano, garlic, & mozzarella\n")
- print(" |7| Beef Italiano - $10.50 (Large):")
- print("pepperoni, beef, mushroom, capsicum, olives, oregano, garlic, mozzarella & parmesan\n")
- print(" |8| Seafood Deluxe - $10.50 (Large):")
- print("shrimps, calamari, clams, mussels, surimi, mozzarella, & lemon pepper\n")
- print("~~~~~~~~~~~~~~~~~~~ ")
- print("Large Stuffed Crust: $13.50")
- print("XL Standard Base (Pan, Classic, Thin 'n Crispy): $14.50")
- print("XL Stuffed Crust: $17.50")
- print("~~~~~~~~~~~~~~~~~~\n\n")
- print("|------------------------------------------------| \n")
- print(" Staff Favourite Pizzas\n")
- print("|------------------------------------------------| \n")
- print(" |9| BBQ Hawaiian - $8.00 (Large):")
- print("ham, bacon, pineapple, onion, & mozzarella with bbq swirl\n")
- print(" |10| Pepperoni Lovers - $8.00 (Large):")
- print("peperoni & mozzarella\n")
- print(" |11| Veg Supreme - $8.00 (Large):")
- print("mushroom, onion, capsicum, garlic, oregano, pineapple, tomato & mozzarella\n")
- print(" |12| Trio of Cheese - $8.00 (Large):")
- print("mozzarella, swiss & parmesan\n")
- print(" |13| Beef Hot 'n Spicy - $8.00 (Large):")
- print("beef, onion, jalapeno, tomato & mozzarella\n")
- print(" |14| Roma - $8.00 (Large):")
- print("pepperoni, mushroom, capsicum, olives, garlic, oregano, mozzarella & mozzarella\n")
- print("~~~~~~~~~~~~~~~~~~~ ")
- print("Large Stuffed Crust: $11.00")
- print("XL Standard Base (Pan, Classic, Thin 'n Crispy): $12.00")
- print("XL Stuffed Crust: $15.00")
- print("~~~~~~~~~~~~~~~~~~\n\n")
- print("|------------------------------------------------| \n")
- print(" Classic Pizzas\n")
- print("|------------------------------------------------| \n")
- print(" |15| Hawaiian - $5.00 (Large):")
- print("ham, pineapple & mozzarella\n")
- print(" |16| Classic Cheese - $5.00 (Large):")
- print("mozzarella\n")
- print(" |17| Veg Hot 'n Spicy - $5.00 (Large):")
- print("capsicum, jelapeno & mozzarella\n")
- print(" |18| Ham and Cheese - $5.00 (Large):")
- print("mozzarella, beef & onion\n")
- print(" |19| Beef and onion - $5.00 (Large):")
- print("beef, onion, & mozzarella\n")
- print(" |20| Margherita - $5.00 (Large):")
- print("tomato & mozzarella\n")
- print("~~~~~~~~~~~~~~~~~~~ ")
- print("Large Stuffed Crust: $10.00")
- print("XL Standard Base (Pan, Classic, Thin 'n Crispy): $8.00")
- print("XL Stuffed Crust: $13.50")
- print("~~~~~~~~~~~~~~~~~~\n\n")
- print("|------------------------------------------------| \n")
- print(" Sides\n")
- print("|------------------------------------------------| \n")
- print(" |21| Large Fries - $3.50\n")
- print(" |22| Garlic Bread - $3.50\n")
- print(" |23| Onion Rings - $3.50\n")
- print(" |24| 5 Spicy Chicken Wings - $5.00\n")
- print(" |25| Dipping Sauces - $0.50\n\n")
- print("|------------------------------------------------| \n")
- print(" Drinks\n")
- print("|------------------------------------------------| \n")
- print(" |26| Orange Juice - $3.50\n")
- print(" |27| Bottled Water - $3.50\n")
- print(" |28| 355ml Soft Drink Can - $1.90\n")
- print(" |29| 1.5L Soft Drink - $3.90\n\n")
- item_names = ["0","Super Supreme\n","Meat Lovers\n","BBQ Chicken & Bacon\n",\
- "Apricot Chicken\n","Satay Chicken\n","Pepperoni Feast\n",\
- "Beef Italiano\n","Seafood Deluxe\n","BBQ Hawaiian\n",\
- "Peperoni Lover\n","Veg Supreme\n","Trio of Cheese\n",\
- "Beef Hot 'n Spicy\n","Roma\n","Hawaiian\n","Classic Cheese\n",\
- "Veg Hot 'n Spicy\n","Ham and Cheese\n","Beef and Onion\n",\
- "Margherita\n","Large Fries\n","Garlic Bread\n","Onion Rings\n",\
- "5 Spicy Chicken Wings","Dipping Sauce (","Orange Juice\n",\
- "Bottled Water\n","355ml Soft Drink (","1.5L Soft Drink ("];
- item_prices = [0,10.50,10.50,10.50,10.50,10.50,10.50,10.50,10.50,8.00,8.00,8.00,8.00,8.00,8.00,5.00,5.00,5.00,5.00,5.00,5.00,3.50,3.50,3.50,5.00,0.50,3.50,3.50,1.90,3.90];
- print('Hello and welcome to the Shinanigan Pizzary!')
- start = '1'
- while start == '1':
- menu_prompt = str(input("Would you like to open the menu? y/n\n"))
- if menu_prompt == 'y':
- start = '0'
- menu()
- running_total = '0'
- running_names =''
- loop1 = '1'
- while loop1 == '1':
- input_number = input("Please insert your desired item's number\n")
- if isdigit(input_number) & input_number =< '25'
- items_number = input_number
- running_total += float((item_prices[items_number]))
- running_names += item_names[items_number]
- else
- print('That is not a correct input.')
- query1 = str(input("Is that all? y/n\n\n"))
- if query1 == 'y':
- loop1 = '0'
- print(running_names)
- print("Running total:","$",(running_total))
- print("\nThank you for coming! Your order is being made!")
- elif query1 == "n":
- print(running_names)
- print("Running total:","$",(running_total))
- else:
- running_total -=float((item_prices[items_number]))
- running_names = running_names.replace(item_names[items_number],"")
- print("Please enter 'y' or 'n'")
- elif menu_prompt == 'n':
- print("Okay. Thanks for coming. See you next time.")
- break
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement