mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-22 07:10:42 -08:00
Python: Add type annotations to all 'print' functions (#662)
* Add test to superstartrek and fixes several issues in superstartrek - I probably introduced them 🙈
* Mastermind type annotations
This commit is contained in:
@@ -66,7 +66,7 @@ def game_loop():
|
||||
return
|
||||
|
||||
|
||||
def print_list(numbers):
|
||||
def print_list(numbers) -> None:
|
||||
"""Print out the list"""
|
||||
print(" ".join(map(str, numbers)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user