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
@@ -46,7 +46,7 @@ def print_dice(n):
|
||||
print(" ----- ")
|
||||
|
||||
|
||||
def main():
|
||||
def main() -> None:
|
||||
|
||||
while True:
|
||||
d1 = randint(1, 6)
|
||||
|
||||
Reference in New Issue
Block a user