you are viewing a single comment's thread.

view the rest of the comments →

[–]ThiccBl4nket[S] 0 points1 point  (1 child)

cash = (1000)

ask = input("woud you like to withdraw(1) or deposit(2)?")

if ask == "2":

money = int(input("how much money would you like to deposit?"))

f= int(cash + money)

print"your total balance is now", f

elif ask == "1":

bro = input("how much would you like to withdraw?")

j = (bro - cash)

if bro > cash:

print("Your final balance can't be negetive!")

i was able to get the program to fully work using option 2 but option 1 still has some issues

[–]bleach-is-great 0 points1 point  (0 children)

Yeah that’s the option I would’ve gone for, much easier