How do I get python to pick a random word? Do I have to link it with a dictionary? If so how do you do that.
Exercise from Python Programming for the absolute beginner
Create a game where computer picks a random word and player has to guess the word. Computer tells the player how many letter are in the word. The computer can only respond yes or no. Then the player must guess the word.
dseto200 0 Junior Poster in Training
lllllIllIlllI 178 Veteran Poster
dseto200 0 Junior Poster in Training
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
Gribouillis 1,391 Programming Explorer Team Colleague
Gribouillis 1,391 Programming Explorer Team Colleague
dseto200 0 Junior Poster in Training
lllllIllIlllI 178 Veteran Poster
dseto200 0 Junior Poster in Training
lllllIllIlllI 178 Veteran Poster
dseto200 0 Junior Poster in Training
lllllIllIlllI 178 Veteran Poster
dseto200 0 Junior Poster in Training
lllllIllIlllI 178 Veteran Poster
dseto200 0 Junior Poster in Training
woooee 814 Nearly a Posting Maven
dseto200 0 Junior Poster in Training
woooee 814 Nearly a Posting Maven
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.