Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Good Guess | Main Body
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Beginner Final Project: Hangman

bookGood Guess

If the letter is in the gameword, we need to congratulate the user with a good guess. The guessed letter will be added to the current state of the gameword and deleted from the available letters list.

Tâche

Swipe to start coding

  1. Append the guess to the used_letters.

Solution

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 3. Chapitre 4
single

single

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

Suggested prompts:

Résumer ce chapitre

Expliquer le code dans file

Expliquer pourquoi file ne résout pas la tâche

close

bookGood Guess

Glissez pour afficher le menu

If the letter is in the gameword, we need to congratulate the user with a good guess. The guessed letter will be added to the current state of the gameword and deleted from the available letters list.

Tâche

Swipe to start coding

  1. Append the guess to the used_letters.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 3. Chapitre 4
single

single

some-alt