Курси /
Crafting a Classic Hangman Game
Random Word Generator
![](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/7858f70a-18ff-4415-855e-b78c0489d4ed/choose+word+random.png)
How to choose the word for the game?
To play the game, it is necessary to choose one game word randomly from the word_list
. To do that, we create the choose_word_random
function.
Завдання
- Define the function
choose_word_random
withword_list
as a parameter. - Inside the function, return a randomly selected word from
word_list
using therandom.choice(...)
method.
Mark tasks as Completed
Все було зрозуміло?
Секція 1. Розділ 2
AVAILABLE TO ULTIMATE ONLY