mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-23 07:29:02 -08:00
Python: Add type annotations
This commit is contained in:
committed by
Alexander Wunschik
parent
b95a514e84
commit
83b3dc402c
@@ -70,7 +70,7 @@ class NIM:
|
||||
return sum == 0
|
||||
|
||||
|
||||
def main():
|
||||
def main() -> None:
|
||||
# Game initialization
|
||||
game = NIM()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user