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

Scorri per mostrare il menu

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.

Compito

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.

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 1. Capitolo 2
Siamo spiacenti che qualcosa sia andato storto. Cosa è successo?

Chieda ad AI

expand
ChatGPT

Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione

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.

Compito

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.

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 1. Capitolo 2
Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Siamo spiacenti che qualcosa sia andato storto. Cosa è successo?
some-alt