mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-25 04:15:45 -08:00
Python: Add type annotations
This commit is contained in:
committed by
Alexander Wunschik
parent
b95a514e84
commit
83b3dc402c
@@ -4,7 +4,7 @@ import random # for generating random numbers
|
||||
import sys # for system function, like exit()
|
||||
|
||||
# global variables for storing player's status
|
||||
player_funds = 0 # no money
|
||||
player_funds: float = 0 # no money
|
||||
player_furs = [0, 0, 0, 0] # no furs
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user