File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,13 +38,13 @@ def main_menu(id):
3838 get_id ()
3939 elif (selection == 2 ):
4040 withdraw_amount = float (
41- prompt ("Enter the amount of money you would like to withdraw: " ))
41+ input ("Enter the amount of money you would like to withdraw: " ))
4242 eval (f"account_{ id } .withdraw({ withdraw_amount } )" )
4343 print (f"${ withdraw_amount } was withdrawed successfully\n Your new balance is { eval ('account_' + id + '.get_balance()' )} " )
4444 get_id ()
4545 elif (selection == 3 ):
4646 deposit_amount = float (
47- prompt ("Enter the amount of money you would like to deposit: " ))
47+ input ("Enter the amount of money you would like to deposit: " ))
4848 eval (f"account_{ id } .deposit({ deposit_amount } )" )
4949 print (f"${ deposit_amount } was deposited successfully\n Your new balance is { eval ('account_' + id + '.get_balance()' )} " )
5050 get_id ()
You can’t perform that action at this time.
0 commit comments