Is not a Letter
What if the user input & or @? We need to 'punish' the user by decreasing number of warnings (or guesses if there are no warnings left). Only one symbol ! means that the user is asking for the hint.
We need to take into account these cases.
Завдання
Swipe to start coding
- Set condition if the input is
'!'. - Print possible matches using the
show_possible_matchesfunction and theget_guessed_word(gameword, used_letters)as an argument. - Decrease the
warnings_remainingby one. - Set condition if there are less than 0 (not included) warnings.
- Decrease the
guesses_reamainingby one.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 3. Розділ 2
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат
Awesome!
Completion rate improved to 7.69
Is not a Letter
Свайпніть щоб показати меню
What if the user input & or @? We need to 'punish' the user by decreasing number of warnings (or guesses if there are no warnings left). Only one symbol ! means that the user is asking for the hint.
We need to take into account these cases.
Завдання
Swipe to start coding
- Set condition if the input is
'!'. - Print possible matches using the
show_possible_matchesfunction and theget_guessed_word(gameword, used_letters)as an argument. - Decrease the
warnings_remainingby one. - Set condition if there are less than 0 (not included) warnings.
- Decrease the
guesses_reamainingby one.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 3. Розділ 2
single