mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2026-01-14 14:07:38 -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:
@@ -21,7 +21,7 @@ from random import random
|
||||
NUMBER_OF_ROUNDS = 9
|
||||
|
||||
|
||||
def initial_message():
|
||||
def initial_message() -> None:
|
||||
print(" " * 28 + "Russian Roulette")
|
||||
print(" " * 15 + "Creative Computing Morristown, New Jersey\n\n\n")
|
||||
print("This is a game of >>>>>>>>>>Russian Roulette.\n")
|
||||
|
||||
Reference in New Issue
Block a user