Sep-03-2018, 01:08 PM
(Sep-03-2018, 12:45 PM)ichabod801 Wrote: 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.
thanks got it to work. was going crazy trying to sort this.