mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-26 12:51:29 -08:00
Python: Add type annotations
This commit is contained in:
@@ -19,7 +19,7 @@ def print_instructions() -> None:
|
||||
print()
|
||||
|
||||
|
||||
def fnr():
|
||||
def fnr() -> int:
|
||||
return random.randint(1, 5)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user