mirror of
https://git.astronand.dev/minecartchris/Stock-Game.git
synced 2026-06-28 16:27:24 -04:00
Update main.py
This commit is contained in:
15
main.py
15
main.py
@@ -140,3 +140,18 @@ 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.")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user