Sectie 1. Hoofdstuk 2
single
Random Word
Veeg om het menu te tonen
To play the game it is needed to choose one gameword randomly from the word_list. To do that we create choose_word_random function.
Taak
Swipe to start coding
- Set the
choose_word_randomfunction using theword_listas an argument. - Return random word from the
word_listinside the function usingrandom.choice(...)function. - Test the function using the
test_word_listlist.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 2
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.