Update main.py

This commit is contained in:
2025-12-10 21:02:17 -05:00
parent a5b7b18226
commit 321d8b374e

10
main.py
View File

@@ -84,11 +84,11 @@ while daysleft > -1:
print("\033c", end="") print("\033c", end="")
elif usrinput == "2": elif usrinput == "2":
print("1. Kwik trip: " + str(kwiktripStockPrice) + "you own: " + str(kwiktrip)) print("1. Kwik trip: " + str(kwiktripStockPrice) + " you own: " + str(kwiktrip))
print("2. Apple computers: " + str(appleStockPrice) + "you own: " + str(apple)) print("2. Apple computers: " + str(appleStockPrice) + " you own: " + str(apple))
print("3. Microsoft: " + str(microsoftStockPrice) + "you own: " + str(microsoft)) print("3. Microsoft: " + str(microsoftStockPrice) + " you own: " + str(microsoft))
print("4. Walmart Super Store: " + str(walmartStockPrice) + "you own: " + str(walmart)) print("4. Walmart Super Store: " + str(walmartStockPrice) + " you own: " + str(walmart))
print("5. Car company: " + str(carStockPrice) + "you own: " + str(car)) print("5. Car company: " + str(carStockPrice) + " you own: " + str(car))
stockinput = int(input("what stock do you want to sell?: ")) stockinput = int(input("what stock do you want to sell?: "))
amountinput = int(input("how many stocks?: ")) amountinput = int(input("how many stocks?: "))
amountpayout = int(amountinput) * int(stockcost[int(stockinput)-1]) amountpayout = int(amountinput) * int(stockcost[int(stockinput)-1])