Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Leer Random Word | Game Word
Beginner Final Project: Hangman

Veeg om het menu te tonen

book
Random Word

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

  1. Set the choose_word_random function using the word_list as an argument.
  2. Return random word from the word_list inside the function using random.choice(...) function.
  3. Test the function using the test_word_list list.

Oplossing

Switch to desktopSchakel over naar desktop voor praktijkervaringGa verder vanaf waar je bent met een van de onderstaande opties
Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 1. Hoofdstuk 2
Onze excuses dat er iets mis is gegaan. Wat is er gebeurd?

Vraag AI

expand
ChatGPT

Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.

book
Random Word

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

  1. Set the choose_word_random function using the word_list as an argument.
  2. Return random word from the word_list inside the function using random.choice(...) function.
  3. Test the function using the test_word_list list.

Oplossing

Switch to desktopSchakel over naar desktop voor praktijkervaringGa verder vanaf waar je bent met een van de onderstaande opties
Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 1. Hoofdstuk 2
Switch to desktopSchakel over naar desktop voor praktijkervaringGa verder vanaf waar je bent met een van de onderstaande opties
Onze excuses dat er iets mis is gegaan. Wat is er gebeurd?
some-alt