# Based on a user's order, work out their final bill.

# Small Pizza: $15
# Small Pizza: $15
# Medium Pizza: $20
# Medium Pizza: $20
# Large Pizza: $25
# Large Pizza: $25
# Pepperoni for Small Pizza: +$2
# Pepperoni for Small Pizza: +$2
# Pepperoni for Medium or Large Pizza: +$3
# Pepperoni for Medium or Large Pizza: +$3
# Extra cheese for any size pizza: + $1
# 🚨 Don't change the code below 👇

print("Welcome to Python Pizza Deliveries!")
size = input("What size pizza do you want? S, M, or L ")
add_pepperoni = input("Do you want pepperoni? Y or N ")
extra_cheese = input("Do you want extra cheese? Y or N ")
# 🚨 Don't change the code above 👆

#Write your code below this line 👇

bill = 0
if (size.lower() == "s"):
  bill = 15
elif (size.lower() == "m"):
  bill = 20
else:
  bill = 25

if (add_pepperoni.lower() == "y"):
  if (size.lower() == "s"):
    bill += 2
  else:
    bill += 3

if (extra_cheese.lower() == "y"):
  bill += 1

print(f"Your final bill is: {bill}")





