mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-21 23:00:43 -08:00
Python: Add type annotations
This commit is contained in:
committed by
Alexander Wunschik
parent
b95a514e84
commit
83b3dc402c
@@ -60,7 +60,7 @@ def play_game():
|
||||
prompt_human = "Your turn -- you may take 1, 2 or 3 matches.\nHow many do you wish to remove "
|
||||
|
||||
|
||||
def main():
|
||||
def main() -> None:
|
||||
print(" " * 31 + "23 MATCHHES")
|
||||
print(" " * 15 + "CREATIVE COMPUTING MORRISTOWN, NEW JERSEY\n")
|
||||
print("This is a game called '23 Matches'.\n")
|
||||
|
||||
Reference in New Issue
Block a user