Update main.py

This commit is contained in:
2025-12-09 09:28:46 -05:00
parent 8ccaa5b989
commit b0fae7f503

17
main.py
View File

@@ -139,4 +139,19 @@ while daysleft > -1:
stockcost = [kwiktripStockPrice, appleStockPrice, microsoftStockPrice, walmartStockPrice, carStockPrice] stockcost = [kwiktripStockPrice, appleStockPrice, microsoftStockPrice, walmartStockPrice, carStockPrice]
indexPrice = (kwiktripStockPrice + appleStockPrice + microsoftStockPrice + walmartStockPrice + carStockPrice) / 5 indexPrice = (kwiktripStockPrice + appleStockPrice + microsoftStockPrice + walmartStockPrice + carStockPrice) / 5
print("End game stats")
print("You started with 1000")
print("ending the game you have $" + str(balance))
print("your stocks left over are")
print("kwik trip you have: " + str(kwiktrip))
print("apple you have: " + str(apple))
print("microsoft you have: " + str(microsoft))
print("walmaart you have: " + str(walmart))
print("last you have " + str(car) + " in car company.")