Quantcast

A community for students.

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

susantpatra

  • 2 years ago

hangman problem

  • This Question is Open
  1. Opcode
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Do tell?

  2. susantpatra
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    I am confused on how to approach this problem. I read the prof. instruction and yet still not clear

  3. TuringTest
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    it's very hard to answer such a general question. please try to explain what exactly you don't understand.

  4. susantpatra
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    For example how to use chooseWord? When I call chooseWord(WORRS_FILENAME), I get an alphabet and not a word from words.txt

  5. msmithhnova
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 2

    You 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.

  6. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy

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
  • 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.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.