# Which is your favourite pizza joint?
# Have you gotten pizza ordered online?
# Did you know that your orders on domino are taken by a chatbot?
# Take a look at this video to know more-
# https://[Log in to view URL]
# Ready to create a program that takes order online
# Let's get started.
'''Task: Pizza Time'''
print()
print("*** Task 1: ***")
print()
# You have opened a mini pizza joint in your neighbourhood.
# You want to create a program to take the orders so that, one can use their device to place orders
# The options you provide are :
# - Type of pizza -Veg / Non-veg
# - Veg Options - Farm House, Deluxe Veggie
# - Non-Veg Options - Chicken supreme, Chicken sausage
# - Type of crust - Thin/ Pan
# - The rate card is as follows:
# Farm House Thin crust- INR 250
# Deluxe Veggie Thin crust -INR 300
# Farm House Pan Crust - INR 300
# Deluxe Veggie Pan Crust - INR 350
# Chicken supreme Thin crust - INR 400
# Chicken sausage Thin crust - INR 450
# Chicken supreme Pan Crust - INR 450
# Chicken sausage Pan Crust - INR 475
# Remember to take the address and phone number of the customer and let them know the order will be delivered in 30 minutes.
print("Welcome to Prime Pizza")
diet=int(input("Do you want:\n1-Vegetarian Options\n2-Non-Vegetarian Options"))
if diet == 1:
print("You want some vegetarian options? GREAT! We have two options:\n")
spec = int(input("1-Deluxe Veggie\n2-Farm House"))
if spec == 1:
fine =int(input("\nDo you want a 1-thin crust or a 2-pan crust"))
if fine == 1:
order = [Deluxe Veggie Thin Crust]
print(f"Your {order} costs 250 rupees")
elif fine == 2:
order = [Deluxe Veggie Pan Crust]
print(f"Your {order} costs 300 rupees")
else:
print("Please enter a number above")
elif spec == 2:
fine =int(input("\nDo you want a 1-thin crust or a 2-pan crust")
if fine == 1:
order = [Farm House Thin Crust]
print(f"Your {order} costs 325 rupees")
elif fine == 2:
order = [Farm House Pan Crust]
print(f"Your {order} costs 350 rupees")
else:
print("Please enter a number above")
else:
print("Please enter a number above")
if diet == 2:
print("You want some non-vegetarian options? GREAT! We have two options:\n")
spec = int(input("1-Chicken Supreme\n2-Chicken Sausage"))
if spec == 1:
fine =int(input("\nDo you want a 1-thin crust or a 2-pan crust"))
if fine == 1:
order = [Chicken Supreme Thin Crust]
print(f"Your {order} costs 425 rupees")
elif fine == 2:
order = [Chicken Supreme Pan Crust]
print(f"Your {order} costs 450 rupees")
else:
print("Please enter a number above")
elif spec == 2:
fine =int(input("\nDo you want a 1-thin crust or a 2-pan crust")
if fine == 1:
order = [Chicken Sausage Thin Crust]
print(f"Your {order} costs 450 rupees")
elif fine == 2:
order = [Chicken Sausage Pan Crust]
print(f"Your {order} costs 475 rupees")
else:
print("Please enter a number above")
else:
print("Please enter a number above")
To embed this project on your website, copy the following code and paste it into your website's HTML: