Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- correct = False
- sign = print ("Please sign-up")
- username=input("Please enter your username: ")
- password = input("Please enter your password: ")
- log = print ("Please log-in")
- username2 = input("Please enter your username: ")
- password2 = input("Please enter your password: ")
- if username2 == username and password2 == password:
- print("You have succesfully logged in!")
- print("""
- pepperoni pizza 1
- hawaiian pizza 2
- margherita pizza 3
- veggie pizza 4
- meat feast pizza 5
- """)
- order = int(input("Place your order for a pizza: "))
- if order == 1:
- print("You have ordered the pepperoni pizza!")
- print("It will be there in 20 minutes!")
- print("Your order will be £8.99")
- if order == 2:
- print("You have ordered the hawaiian!")
- print("It will be there in 20 minutes!")
- print("Your order will be £9.99")
- if order == 3:
- print("You have ordered the margherita pizza!")
- print("It will be there in 20 minutes!")
- print("Your order will be £8.99")
- if order == 4:
- print("You have ordered the veggie pizza!")
- print("It will be there in 20 minutes!")
- print("Your order will be £9.99")
- if order == 5:
- print("You have ordered the meat feast pizza!")
- print("It will be there in 20 minutes!")
- print("Your order will be £10.99")
- else:
- print ("Your username and/or password are not correct")
- log = print ("Please log-in")
- username2 = input("Please enter your username: ")
- password2 = input("Please enter your password: ")
- if correct == "yes":
- print("""
- pepperoni pizza 1
- hawaiian pizza 2
- margherita pizza 3
- veggie pizza 4
- meat feast pizza 5
- """)
- if username2 == username and password2 == password:
- print("You have succesfully logged in!")
- print("""
- pepperoni pizza 1
- hawaiian pizza 2
- margherita pizza 3
- veggie pizza 4
- meat feast pizza 5
- """)
- order = int(input("Place your order for a pizza: "))
- if order == 1:
- print("You have ordered the pepperoni pizza!")
- print("It will be there in 20 minutes!")
- print("Your order will be £8.99")
- if order == 2:
- print("You have ordered the hawaiian!")
- print("It will be there in 20 minutes!")
- print("Your order will be £9.99")
- if order == 3:
- print("You have ordered the margherita pizza!")
- print("It will be there in 20 minutes!")
- print("Your order will be £8.99")
- if order == 4:
- print("You have ordered the veggie pizza!")
- print("It will be there in 20 minutes!")
- print("Your order will be £9.99")
- if order == 5:
- print("You have ordered the meat feast pizza!")
- print("It will be there in 20 minutes!")
- print("Your order will be £10.99")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement