mirror of
https://git.astronand.dev/minecartchris/Stock-Game.git
synced 2026-06-28 13:37:25 -04:00
Update main.py
This commit is contained in:
10
main.py
10
main.py
@@ -84,11 +84,11 @@ while daysleft > -1:
|
||||
print("\033c", end="")
|
||||
|
||||
elif usrinput == "2":
|
||||
print("1. Kwik trip: " + str(kwiktripStockPrice) + "you own: " + str(kwiktrip))
|
||||
print("2. Apple computers: " + str(appleStockPrice) + "you own: " + str(apple))
|
||||
print("3. Microsoft: " + str(microsoftStockPrice) + "you own: " + str(microsoft))
|
||||
print("4. Walmart Super Store: " + str(walmartStockPrice) + "you own: " + str(walmart))
|
||||
print("5. Car company: " + str(carStockPrice) + "you own: " + str(car))
|
||||
print("1. Kwik trip: " + str(kwiktripStockPrice) + " you own: " + str(kwiktrip))
|
||||
print("2. Apple computers: " + str(appleStockPrice) + " you own: " + str(apple))
|
||||
print("3. Microsoft: " + str(microsoftStockPrice) + " you own: " + str(microsoft))
|
||||
print("4. Walmart Super Store: " + str(walmartStockPrice) + " you own: " + str(walmart))
|
||||
print("5. Car company: " + str(carStockPrice) + " you own: " + str(car))
|
||||
stockinput = int(input("what stock do you want to sell?: "))
|
||||
amountinput = int(input("how many stocks?: "))
|
||||
amountpayout = int(amountinput) * int(stockcost[int(stockinput)-1])
|
||||
|
||||
Reference in New Issue
Block a user