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
DoomCarnage 0 Newbie Poster
slate 241 Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.