Final Step
Integrating Everything
Fantastic! Now, it's time to structure the main function to incorporate all the functions we've developed previously.
Swipe to start coding
- Invoke the
load_words
function to initialize theword_list
variable. - Determine the
gameword
by using thechoose_random_word
function. - Execute the
hangman
function.
Ratkaisu
Kiitos palautteestasi!