Update main.py
This commit is contained in:
17
main.py
17
main.py
@@ -139,4 +139,19 @@ while daysleft > -1:
|
||||
|
||||
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