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

Conteúdo do Curso

Beginner Final Project: Hangman

Beginner Final Project: Hangman

1. Game Word
2. Hints
3. Main Body

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.

Tarefa

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.

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 2
toggle bottom row

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.

Tarefa

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.

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 2
Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Sentimos muito que algo saiu errado. O que aconteceu?
some-alt