This question already has an answer here:
- How can I read inputs as numbers? 17 answers
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