Sep-03-2018, 12:45 PM
If you want to ask the question over and over again until you get a correct answer, use a while loop:
while True: spanishs = input('Can you say my name is in Spanish?') if spanish == 'me llamo': print('Si. Correcto') break print('Intento equivocado otra vez. ' 'Wrong, try again!')Always put everything you want to repeat in the loop.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures