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:
15
main.py
15
main.py
@@ -97,15 +97,20 @@ while daysleft > -1:
|
||||
if rusure == "yes" or rusure == "y" or rusure == "Y" or rusure == "Yes":
|
||||
balance = balance + amountpayout
|
||||
if stockinput == 1:
|
||||
kwiktrip = kwiktrip - amountinput
|
||||
if kwiktrip >= amountinput:
|
||||
kwiktrip = kwiktrip - amountinput
|
||||
elif stockinput == 2:
|
||||
apple = apple - amountinput
|
||||
if apple >= amountinput:
|
||||
apple = apple - amountinput
|
||||
elif stockinput == 3:
|
||||
microsoft = microsoft - amountinput
|
||||
if microsoft >= amountinput:
|
||||
microsoft = microsoft - amountinput
|
||||
elif stockinput == 4:
|
||||
walmart = walmart - amountinput
|
||||
if walmrt >= amountinput:
|
||||
walmart = walmart - amountinput
|
||||
elif stockinput == 5:
|
||||
car = car - amountinput
|
||||
if car >= amountinput:
|
||||
car = car - amountinput
|
||||
print("\033c", end="")
|
||||
elif usrinput == "3":
|
||||
printMenu(balance, "prices")
|
||||
|
||||
Reference in New Issue
Block a user