dimanche 1 mai 2016

Raw Input Inside If-statement?

Is there a way to use raw input inside an if-statement? I would like to ask the user a question and if they type "yes" I want to code to continue working after the if-statement. If they type "no" I want the code to say "Thank you for your time" and then stop all actions after that particular if-statement. Is this possible?

Aucun commentaire:

Enregistrer un commentaire