Python: Add type annotations

This commit is contained in:
Martin Thoma
2022-04-02 09:30:56 +02:00
parent 624c55711c
commit a561322962
15 changed files with 42 additions and 40 deletions

View File

@@ -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()