Fixes the type check failures for python implementations, boxing.py and Stock_Market.py

This commit is contained in:
Aldrin Misquitta
2024-09-24 15:02:21 +04:00
parent 6a4936c088
commit a56a42f52b
2 changed files with 3 additions and 3 deletions

View File

@@ -34,7 +34,7 @@ class Stock_Market:
return self.cash_assets + self.stock_assets
def _generate_day_change(self) -> None:
self.changes = []
self.changes: List[float] = []
self.changes.extend(
round(random.uniform(-5, 5), 2) for _ in range(len(self.data))
)