mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-24 20:10:15 -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:
@@ -225,7 +225,7 @@ def create_blank_board():
|
||||
#
|
||||
# print out the game board for testing
|
||||
# purposes
|
||||
def print_board(board):
|
||||
def print_board(board) -> None:
|
||||
|
||||
# print board header (column numbers)
|
||||
print(" ", end="")
|
||||
|
||||
Reference in New Issue
Block a user