vendredi 28 juin 2019

I have a question about if else statements and raw_input statements

So my code isn't working, and just skipping straight to the else statement no matter what input the user uses.

start_over = 10

STONKS = raw_input("YESN'T? ")

if raw_input == "What?":
        start_over -= 1 
        print STONKS    
elif raw_input == "Yeah?":
        print "Nah, don't be a bully Ninja"
        start_over -=1
        print STONKS     
else:
        print "YOU ATE MY BEANS?!"


Can anyone help?

Aucun commentaire:

Enregistrer un commentaire