jeudi 5 février 2015

I want to make it so if you enter the wrong text it will still work?


question = input('Please choose one. add, times, divide, minus')

if (question=='add'):
if (question=='times'):
if (question=='divide'):
if (question=='minus'):


I want to make it so if I enter something else it will ask me to enter it again instead of error


Aucun commentaire:

Enregistrer un commentaire