mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-22 07:10:42 -08:00
Python: Add type annotations
This commit is contained in:
committed by
Alexander Wunschik
parent
b95a514e84
commit
83b3dc402c
@@ -49,7 +49,7 @@ def play_game():
|
||||
break
|
||||
|
||||
|
||||
def main():
|
||||
def main() -> None:
|
||||
print(" " * 34 + "TRAP")
|
||||
print(" " * 15 + "CREATIVE COMPUTING MORRISTOWN, NEW JERSEY\n")
|
||||
if input("Instructions ").lower().startswith("y"):
|
||||
|
||||
Reference in New Issue
Block a user