mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-22 23:26:40 -08:00
Python: Type annotations
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user