@@ -34,19 +34,19 @@ def main_menu(id):
34
34
" )
35
35
selection = int (input ("Enter your selection here: " ))
36
36
if (selection == 1 ):
37
- print (eval (f" account_{ id } .get_balance()" ) )
37
+ print (f"$ { eval (f' account_{ id } .get_balance()' ) } in account { id } " )
38
38
get_id ()
39
39
elif (selection == 2 ):
40
40
withdraw_amount = float (
41
41
input ("Enter the amount of money you would like to withdraw: " ))
42
42
eval (f"account_{ id } .withdraw({ withdraw_amount } )" )
43
- print (f"${ withdraw_amount } was withdrawed successfully\n Your new balance is ${ eval ('account_' + id + ' .get_balance()' )} " )
43
+ print (f"${ withdraw_amount } was withdrawed successfully\n Your new balance is ${ eval (f 'account_{ id } .get_balance()' )} " )
44
44
get_id ()
45
45
elif (selection == 3 ):
46
46
deposit_amount = float (
47
47
input ("Enter the amount of money you would like to deposit: " ))
48
48
eval (f"account_{ id } .deposit({ deposit_amount } )" )
49
- print (f"${ deposit_amount } was deposited successfully\n Your new balance is ${ eval ('account_' + id + ' .get_balance()' )} " )
49
+ print (f"${ deposit_amount } was deposited successfully\n Your new balance is ${ eval (f 'account_{ id } .get_balance()' )} " )
50
50
get_id ()
51
51
elif (selection == 4 ):
52
52
exit ()