mardi 26 février 2019

python: if-else statement only performing else: [duplicate]

This question already has an answer here:

input("Welcome to the cloud watching club! We need a bit of information about you before you join (press enter to continue)")

memberAge = input("How old are you?")

ageLimit = 100

if( ageLimit > memberAge ):
    answerOne = raw_input("Are you patient? [yes, no]")
else:
    print("I'm sorry, you do not qualify for this club :[")

Aucun commentaire:

Enregistrer un commentaire