Initial beginning balance
import sys
#Initial beginning balance
account_balance = float(500.25)
#defines balance
def account_balance():
#print the beggining balance amount
print(“Your current balance:n$%.2f”%account_balance)
#defines deposit
def deposit_amount():
#req user to input amt of depsit
deposit_amount = float(input(“How much would you like to deposit?”))
# calulated new bal with amt deposited
account_balance = account_balance + deposit_amount**** keeps erroring and i can’t figure out the issue? account_balance = account_balance + deposit_amount
TypeError: unsupported operand type(s) for +: ‘function’ and ‘function’
Top Answer
"Looking for a Similar Assignment? Order now and Get 10% Discount! Use Code "Newclient"
