Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

import sys #Initial beginning balance account_balance = float(500.25) #defines balance def account_balance(): #print the beggining balance amount...

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'

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question