Ejemplo n.º 1
0
                reloop = False
                reloop1 = True

                while reloop1 == True:
                    try:
                        # clients action page
                        customer.clients_home()
                        choice = int(input("Action: "))

                    except ValueError:
                        print("\nInvalid choice\n")
                        
                    else:
                        if choice == 1:
                            customer.account_statement()

                        elif choice == 2:
                            customer.deposit()

                        elif choice == 3:
                            customer.withdraw_amount()

                        elif choice == 4:
                            customer.send_money()

                        elif choice ==5:
                            logout()

                        else:
                            pass