while(Truth): guesschar = input("Guess: ") if(guesschar == Word): break elif(len(guesschar) != 1): print("You can only guess one character at a time or the correct answer") else: Truth = False
If the user can guess infinitely, then an infinite loop (or infinite recursion) seems to be adequate.
What is the expected operation of the program?
The code seems to contain:
This does not seem to make sense at all....