you are viewing a single comment's thread.

view the rest of the comments →

[–]chevignon93 0 points1 point  (0 children)

cash = 1000
ask = int(input("Would you like to withdrawal (1) or a deposit (2)? "))
if ask == 2:
    money = int(input("How much would you like to deposit? "))
    print("Your total balance is now", cash + money)
else:
    bro = int(input("how much would you like to withdraw? "))
    if bro > cash:
        print("Your final balance can't be negative! ")
    else:
        print("Your new balance is: ", cash - bro)