Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Hints 2/2 | Hints
Beginner Final Project: Hangman
course content

Зміст курсу

Beginner Final Project: Hangman

Beginner Final Project: Hangman

1. Game Word
2. Hints
3. Main Body

Hints 2/2

The function we are going to implement doesn't work without the function from the previous step. The hints_match function has been already implemeneted in the code.

The second hint function is named show_possible_matches, and shows the word from the file (word_from_list) if this word matches the current state of the gameword.

Завдання

  1. Set the show_possible_matches function using the word_to_match as an argument.
  2. Set for loop to work with the elements of the test_word_list.
  3. If the hints_match is True, append an element to the possible_matches list.
  4. Set condition if the possible_matches list is empty.
  5. Test the function using the test_word_to_match list.

Завдання

  1. Set the show_possible_matches function using the word_to_match as an argument.
  2. Set for loop to work with the elements of the test_word_list.
  3. If the hints_match is True, append an element to the possible_matches list.
  4. Set condition if the possible_matches list is empty.
  5. Test the function using the test_word_to_match list.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

Секція 2. Розділ 3
toggle bottom row

Hints 2/2

The function we are going to implement doesn't work without the function from the previous step. The hints_match function has been already implemeneted in the code.

The second hint function is named show_possible_matches, and shows the word from the file (word_from_list) if this word matches the current state of the gameword.

Завдання

  1. Set the show_possible_matches function using the word_to_match as an argument.
  2. Set for loop to work with the elements of the test_word_list.
  3. If the hints_match is True, append an element to the possible_matches list.
  4. Set condition if the possible_matches list is empty.
  5. Test the function using the test_word_to_match list.

Завдання

  1. Set the show_possible_matches function using the word_to_match as an argument.
  2. Set for loop to work with the elements of the test_word_list.
  3. If the hints_match is True, append an element to the possible_matches list.
  4. Set condition if the possible_matches list is empty.
  5. Test the function using the test_word_to_match list.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

Секція 2. Розділ 3
toggle bottom row

Hints 2/2

The function we are going to implement doesn't work without the function from the previous step. The hints_match function has been already implemeneted in the code.

The second hint function is named show_possible_matches, and shows the word from the file (word_from_list) if this word matches the current state of the gameword.

Завдання

  1. Set the show_possible_matches function using the word_to_match as an argument.
  2. Set for loop to work with the elements of the test_word_list.
  3. If the hints_match is True, append an element to the possible_matches list.
  4. Set condition if the possible_matches list is empty.
  5. Test the function using the test_word_to_match list.

Завдання

  1. Set the show_possible_matches function using the word_to_match as an argument.
  2. Set for loop to work with the elements of the test_word_list.
  3. If the hints_match is True, append an element to the possible_matches list.
  4. Set condition if the possible_matches list is empty.
  5. Test the function using the test_word_to_match list.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

The function we are going to implement doesn't work without the function from the previous step. The hints_match function has been already implemeneted in the code.

The second hint function is named show_possible_matches, and shows the word from the file (word_from_list) if this word matches the current state of the gameword.

Завдання

  1. Set the show_possible_matches function using the word_to_match as an argument.
  2. Set for loop to work with the elements of the test_word_list.
  3. If the hints_match is True, append an element to the possible_matches list.
  4. Set condition if the possible_matches list is empty.
  5. Test the function using the test_word_to_match list.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Секція 2. Розділ 3
Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
We're sorry to hear that something went wrong. What happened?
some-alt