Python: Type annotations

This commit is contained in:
Martin Thoma
2022-04-02 10:06:15 +02:00
parent c8f86531e9
commit ac184fec42
25 changed files with 241 additions and 245 deletions

View File

@@ -10,7 +10,7 @@ number_max = 100
guess_max = 6
def play_game():
def play_game() -> None:
"""Play one round of the game"""
number_computer = random.randint(1, number_max)