Python: Add type annotations

This commit is contained in:
Martin Thoma
2022-03-19 22:10:26 +01:00
committed by Alexander Wunschik
parent 2c9f922ea9
commit 2316195b30
79 changed files with 509 additions and 461 deletions

View File

@@ -87,7 +87,7 @@ def play_game() -> None:
print("\nGoodbye.")
def print_instructions():
def print_instructions() -> None:
print("\nThis is a game in which you will be playing against the")
print("random decisions of the computer. The field of play is a")
print("cube of side 3. Any of the 27 locations can be designated")