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

@@ -19,7 +19,7 @@ def print_instructions() -> None:
print()
def fnr():
def fnr() -> int:
return random.randint(1, 5)