-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcafe.py
More file actions
20 lines (17 loc) · 719 Bytes
/
cafe.py
File metadata and controls
20 lines (17 loc) · 719 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
print("Welcome to Domino's")
what_order = input("Would you like to order anything?\nIf yes, type 'y' else 'n': ")
if what_order == "y":
print("Menu:\n1. REGULAR PIZZA - $5\n2. CHEESE BURST PIZZA - $7\n3. JUST WATER - Free")
order = int(input("What would you like to order? (Enter 1, 2, or 3): "))
if order == 1:
print("Thank you for ordering! Your total bill is $5.")
bill = 5
elif order == 2:
print("Thank you for ordering! Your total bill is $7.")
bill = 7
elif order == 3:
print("Here's your water. Have a nice day!")
else:
print("Invalid choice. Please enter a valid option next time.")
else:
print("Thank you for visiting our store!")