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
@@ -37,7 +37,7 @@ def print_diamond(begin_width, end_width, step, width, count):
|
||||
n += step
|
||||
|
||||
|
||||
def main():
|
||||
def main() -> None:
|
||||
print_with_tab(33, "DIAMOND")
|
||||
print_with_tab(15, "CREATIVE COMPUTING MORRISTOWN, NEW JERSEY")
|
||||
print()
|
||||
|
||||
Reference in New Issue
Block a user