0
Tkinter entey widget
I am making a hangman game. How it works is a word it picked out before the start and all the letters of that word are put in a list seperatly. whenever a user inputs a value, i need to know how to check whether that letter is in the list. Thanks
1 Answer
+ 2
MyWord = 'myWordString'
if inputLetter in MyWord:
return true
else:
return false
#don't forgot that every word is a list in python