Add type hint for cars
This commit is contained in:
parent
681fa6514c
commit
2ba6a9c0ca
@ -51,7 +51,7 @@ max_cars = 10 ## most cars to include in one train.
|
||||
print_train = False ## print train to file (instead of the screen scroll)
|
||||
|
||||
train = [""]*max_y ## empty train of correct height.
|
||||
cars = []
|
||||
cars: list[list[str]] = []
|
||||
|
||||
engine = [
|
||||
r" ____ ",
|
||||
|
Loading…
x
Reference in New Issue
Block a user