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