whileTrue: #infinite loop answer = input("Question? ").lower() if answer == 'correct': break #break when answer is correct