Exemplo n.º 1
0
    else:
        if choice == 1:
            customer.account_registration()

        elif choice == 2:

            if customer.sign_in() != "Failed":
                print("\nSelect action to perform with your account\n")

                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()