mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-21 23:00:43 -08:00
BUG: Hangman (Python) had a List-vs-Str comparison
MAINT: Add type annotations to find such issues
This commit is contained in:
@@ -192,7 +192,7 @@ if __name__ == "__main__":
|
||||
help = input("\nDO YOU WANT INSTRUCTIONS(YES OR NO)? ")
|
||||
|
||||
# Printing Instruction
|
||||
if help == "YES" or help == "yes" or help == "Yes":
|
||||
if help.lower() == "yes":
|
||||
print_instruction()
|
||||
|
||||
# Initialize Game
|
||||
|
||||
Reference in New Issue
Block a user