May-26-2019, 05:17 AM
I want to make programm that chooses one random word from list of words. For the lenght of the choosen word, programm will print "_" symbols. Person has to insert a letter in input bar to guess what word programm choosed. Person has 10 tries to guess the word and after every wrong guess, number of tries lowers for one and prints as a label. I get a problem as soon as I insert letter and click "Pogodi" button. You said that word wont have get method if random choosed from list of words. Hoe can I fix the problem?