A community for students.
Here's the question you clicked on:
 0 viewing
susantpatra
 2 years ago
hangman problem
susantpatra
 2 years ago
hangman problem

This Question is Open

susantpatra
 2 years ago
Best ResponseYou've already chosen the best response.0I am confused on how to approach this problem. I read the prof. instruction and yet still not clear

TuringTest
 2 years ago
Best ResponseYou've already chosen the best response.0it's very hard to answer such a general question. please try to explain what exactly you don't understand.

susantpatra
 2 years ago
Best ResponseYou've already chosen the best response.0For example how to use chooseWord? When I call chooseWord(WORRS_FILENAME), I get an alphabet and not a word from words.txt

msmithhnova
 2 years ago
Best ResponseYou've already chosen the best response.2You first need to get the wordlist and then pass that to chooseWord like this. wordlist = loadWords() random_word = chooseWord(wordlist) Now if you print random_word it will contain a random word from wordlist.
Ask your own question
Sign UpFind more explanations on OpenStudy
Your question is ready. Sign up for free to start getting answers.
spraguer
(Moderator)
5
→ View Detailed Profile
is replying to Can someone tell me what button the professor is hitting...
23
 Teamwork 19 Teammate
 Problem Solving 19 Hero
 Engagement 19 Mad Hatter
 You have blocked this person.
 ✔ You're a fan Checking fan status...
Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.