mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-22 15:16:33 -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:
@@ -92,7 +92,7 @@ def to_int(s):
|
||||
return False, 0
|
||||
|
||||
|
||||
def print_board():
|
||||
def print_board() -> None:
|
||||
global marbles_in_middle
|
||||
global human_marbles
|
||||
global computer_marbles
|
||||
|
||||
Reference in New Issue
Block a user