Ad

Simple ordering Pizza job, only getting paid 7.25 and hour.

# Welcome to pepe juans

print("Welcome to Pepe Juan's Pizzeria")
size = input("What size Pizza you gonna get? S, M, or L\n")
add_pepperoni = input("Do you want pepperoni? Y or N\n")
add_cheese = input("Do you want cheese? Y or N\n")
extra_cheese = input("Do you want extra cheese for just $1 more? Y or N\n")

bill = 0
if size == "S":
    bill += 15
elif size == "M":
    bill += 20
else:
    bill += 25

if add_pepperoni == "Y":
    if size == "S":
        bill +=2
    else:
        bill +=3
if extra_cheese == "Y":
    bill += 1

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