0

My python code keeps printing the first print statment no matter what I input


input("What Would You Like?")

if input == "burger" or "Burger":
    print("That Will be $3.49")

elif input == "hot dog" or "Hot dog":
  print("That Will Be $2.49")

elif input == "cicken nuggets" or "Chicken Nuggets":
  print("That Will Be $1.49")
else:
  print("Sorry")

If the user choses hot dog it should say "That Will Be 2.49"

But it just keeps saying the price for the burger

marcel h
  • 565
  • 4
  • 18
  • you do not capture the user input in a variable in the first line. Also consider not naming that variable something different than `input` and adapt your if statements accordingly. – marcel h Oct 10 '21 at 14:18

0 Answers0