Answer to Question #41696 in Python for Random
How do you keep looping a question till the correct answer is inputted
whileTrue: #infinite loop
answer = input("Question? ").lower()
if answer == 'correct':
break #break when answer is correct
No comments. Be first!