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

22nd Dec 2016, 9:59 PM
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
29th Dec 2016, 2:14 PM
Hetbo.net - avatar