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
Aucun commentaire:
Enregistrer un commentaire