def manage_account(balance, choice, money):
if choice == '+':
balance = balance + money
return balance
elif choice =='-':
if balance > money:
balance= balance - money
return balance
elif balance < money:
print('There is not enough money in your account')
else:
print('ERROR')
balance = 10000
balance = manage_account(balance, '-', 20000)
balance = manage_account(balance, '-', 5000)
balance = manage_account(balance, '=', 20000)
balance = manage_account(balance, '+', 1000)
why nontype problem happened? Ans how can i escape this awful situation?