mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-22 15:16:33 -08:00
Python: Add type annotations
This commit is contained in:
committed by
Alexander Wunschik
parent
b95a514e84
commit
83b3dc402c
@@ -28,7 +28,7 @@ def play_game():
|
||||
print("Good! Answer within", error_percent, "percent.")
|
||||
|
||||
|
||||
def main():
|
||||
def main() -> None:
|
||||
print(" " * 33 + "TRAIN")
|
||||
print(" " * 15 + "CREATIVE COMPUTING MORRISTOWN, NEW JERSEY\n")
|
||||
print("Time - speed distance exercise")
|
||||
|
||||
Reference in New Issue
Block a user