Exemplo n.º 1
0
reloop = True

while reloop == True:
    # homepage
    home_page() 

    try :
        choice = int(input("Action: "))

    except ValueError:
        print("\ninvalid input\n")

    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: "))