Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.53 KB | None | 0 0
  1. def menu():
  2. print("|------------------------------------------------| \n")
  3. print(" Deluxe Pizzas\n")
  4. print("|------------------------------------------------| \n")
  5. print(" |1| Super Supreme - $10.50 (Large):")
  6. print("peperoni, ham, cabanossi, mushroom, onion, capsicum, pineapple & mozzarella\n")
  7. print(" |2| Meat Lovers - $10.50 (Large):")
  8. print("peperoni, ,beef, ham, cabanossi, bacon & mozzarella\n")
  9. print(" |3| BBQ Chicken & Bacon - $10.50 (Large):")
  10. print("chicken, onion, bacon & mozzarella with bbq swirl\n")
  11. print(" |4| Apricot Chicken - $10.50 (Large):")
  12. print("chicken, onion, capsicum & mozzarella with apricot swirl\n")
  13. print(" |5| Satay Chicken - $10.50 (Large):")
  14. print("chicken, onion, mushroom, capsicum & mozzarella with satay swirl\n")
  15. print(" |6| Pepperoni Feast - $10.50 (Large):")
  16. print("pepperoni, onion, tomato, oregano, garlic, & mozzarella\n")
  17. print(" |7| Beef Italiano - $10.50 (Large):")
  18. print("pepperoni, beef, mushroom, capsicum, olives, oregano, garlic, mozzarella & parmesan\n")
  19. print(" |8| Seafood Deluxe - $10.50 (Large):")
  20. print("shrimps, calamari, clams, mussels, surimi, mozzarella, & lemon pepper\n")
  21. print("~~~~~~~~~~~~~~~~~~~ ")
  22. print("Large Stuffed Crust: $13.50")
  23. print("XL Standard Base (Pan, Classic, Thin 'n Crispy): $14.50")
  24. print("XL Stuffed Crust: $17.50")
  25. print("~~~~~~~~~~~~~~~~~~\n\n")
  26. print("|------------------------------------------------| \n")
  27. print(" Staff Favourite Pizzas\n")
  28. print("|------------------------------------------------| \n")
  29. print(" |9| BBQ Hawaiian - $8.00 (Large):")
  30. print("ham, bacon, pineapple, onion, & mozzarella with bbq swirl\n")
  31. print(" |10| Pepperoni Lovers - $8.00 (Large):")
  32. print("peperoni & mozzarella\n")
  33. print(" |11| Veg Supreme - $8.00 (Large):")
  34. print("mushroom, onion, capsicum, garlic, oregano, pineapple, tomato & mozzarella\n")
  35. print(" |12| Trio of Cheese - $8.00 (Large):")
  36. print("mozzarella, swiss & parmesan\n")
  37. print(" |13| Beef Hot 'n Spicy - $8.00 (Large):")
  38. print("beef, onion, jalapeno, tomato & mozzarella\n")
  39. print(" |14| Roma - $8.00 (Large):")
  40. print("pepperoni, mushroom, capsicum, olives, garlic, oregano, mozzarella & mozzarella\n")
  41. print("~~~~~~~~~~~~~~~~~~~ ")
  42. print("Large Stuffed Crust: $11.00")
  43. print("XL Standard Base (Pan, Classic, Thin 'n Crispy): $12.00")
  44. print("XL Stuffed Crust: $15.00")
  45. print("~~~~~~~~~~~~~~~~~~\n\n")
  46. print("|------------------------------------------------| \n")
  47. print(" Classic Pizzas\n")
  48. print("|------------------------------------------------| \n")
  49. print(" |15| Hawaiian - $5.00 (Large):")
  50. print("ham, pineapple & mozzarella\n")
  51. print(" |16| Classic Cheese - $5.00 (Large):")
  52. print("mozzarella\n")
  53. print(" |17| Veg Hot 'n Spicy - $5.00 (Large):")
  54. print("capsicum, jelapeno & mozzarella\n")
  55. print(" |18| Ham and Cheese - $5.00 (Large):")
  56. print("mozzarella, beef & onion\n")
  57. print(" |19| Beef and onion - $5.00 (Large):")
  58. print("beef, onion, & mozzarella\n")
  59. print(" |20| Margherita - $5.00 (Large):")
  60. print("tomato & mozzarella\n")
  61. print("~~~~~~~~~~~~~~~~~~~ ")
  62. print("Large Stuffed Crust: $10.00")
  63. print("XL Standard Base (Pan, Classic, Thin 'n Crispy): $8.00")
  64. print("XL Stuffed Crust: $13.50")
  65. print("~~~~~~~~~~~~~~~~~~\n\n")
  66. print("|------------------------------------------------| \n")
  67. print(" Sides\n")
  68. print("|------------------------------------------------| \n")
  69. print(" |21| Large Fries - $3.50\n")
  70. print(" |22| Garlic Bread - $3.50\n")
  71. print(" |23| Onion Rings - $3.50\n")
  72. print(" |24| 5 Spicy Chicken Wings - $5.00\n")
  73. print(" |25| Dipping Sauces - $0.50\n\n")
  74. print("|------------------------------------------------| \n")
  75. print(" Drinks\n")
  76. print("|------------------------------------------------| \n")
  77. print(" |26| Orange Juice - $3.50\n")
  78. print(" |27| Bottled Water - $3.50\n")
  79. print(" |28| 355ml Soft Drink Can - $1.90\n")
  80. print(" |29| 1.5L Soft Drink - $3.90\n\n")
  81.  
  82.  
  83. item_names = ["0","Super Supreme\n","Meat Lovers\n","BBQ Chicken & Bacon\n",\
  84. "Apricot Chicken\n","Satay Chicken\n","Pepperoni Feast\n",\
  85. "Beef Italiano\n","Seafood Deluxe\n","BBQ Hawaiian\n",\
  86. "Peperoni Lover\n","Veg Supreme\n","Trio of Cheese\n",\
  87. "Beef Hot 'n Spicy\n","Roma\n","Hawaiian\n","Classic Cheese\n",\
  88. "Veg Hot 'n Spicy\n","Ham and Cheese\n","Beef and Onion\n",\
  89. "Margherita\n","Large Fries\n","Garlic Bread\n","Onion Rings\n",\
  90. "5 Spicy Chicken Wings","Dipping Sauce (","Orange Juice\n",\
  91. "Bottled Water\n","355ml Soft Drink (","1.5L Soft Drink ("];
  92. 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];
  93.  
  94.  
  95. print('Hello and welcome to the Shinanigan Pizzary!')
  96. start = '1'
  97. while start == '1':
  98. menu_prompt = str(input("Would you like to open the menu? y/n\n"))
  99. if menu_prompt == 'y':
  100. start = '0'
  101. menu()
  102. running_total = '0'
  103. running_names =''
  104. loop1 = '1'
  105.  
  106. while loop1 == '1':
  107. input_number = input("Please insert your desired item's number\n")
  108. if isdigit(input_number) & input_number =< '25'
  109. items_number = input_number
  110. running_total += float((item_prices[items_number]))
  111. running_names += item_names[items_number]
  112. else
  113. print('That is not a correct input.')
  114. query1 = str(input("Is that all? y/n\n\n"))
  115. if query1 == 'y':
  116. loop1 = '0'
  117. print(running_names)
  118. print("Running total:","$",(running_total))
  119. print("\nThank you for coming! Your order is being made!")
  120. elif query1 == "n":
  121. print(running_names)
  122. print("Running total:","$",(running_total))
  123. else:
  124. running_total -=float((item_prices[items_number]))
  125. running_names = running_names.replace(item_names[items_number],"")
  126. print("Please enter 'y' or 'n'")
  127.  
  128. elif menu_prompt == 'n':
  129. print("Okay. Thanks for coming. See you next time.")
  130. break
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement