mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-22 23:26:40 -08:00
Python: Add type annotations
This commit is contained in:
@@ -23,7 +23,7 @@ def print_instructions() -> None:
|
||||
print("AS TO HOW CLOSE YOU'RE GETTING TO MY LETTER.")
|
||||
|
||||
|
||||
def play_game():
|
||||
def play_game() -> None:
|
||||
target_value = random.randint(ord("A"), ord("Z"))
|
||||
num_guesses = 0
|
||||
print()
|
||||
|
||||
Reference in New Issue
Block a user