import os
def exibir_nome_programa_e_opcoes():
print("""
░██████╗░█████╗░██████╗░░█████╗░██████╗░ ███████╗██╗░░██╗██████╗░██████╗░███████╗░██████╗░██████╗
██╔════╝██╔══██╗██╔══██╗██╔══██╗██╔══██╗ ██╔════╝╚██╗██╔╝██╔══██╗██╔══██╗██╔════╝██╔════╝██╔════╝
╚█████╗░███████║██████╦╝██║░░██║██████╔╝ █████╗░░░╚███╔╝░██████╔╝██████╔╝█████╗░░╚█████╗░╚█████╗░
░╚═══██╗██╔══██║██╔══██╗██║░░██║██╔══██╗ ██╔══╝░░░██╔██╗░██╔═══╝░██╔══██╗██╔══╝░░░╚═══██╗░╚═══██╗
██████╔╝██║░░██║██████╦╝╚█████╔╝██║░░██║ ███████╗██╔╝╚██╗██║░░░░░██║░░██║███████╗██████╔╝██████╔╝
╚═════╝░╚═╝░░╚═╝╚═════╝░░╚════╝░╚═╝░░╚═╝ ╚══════╝╚═╝░░╚═╝╚═╝░░░░░╚═╝░░╚═╝╚══════╝╚═════╝░╚═════╝░
1. Cadastrar restaurante
2. Listar restaurante
3. Ativar restaurante
4. Sair
""")
# def cadastrar_restaurantes():
# def listar_restaurantes():
# def ativar_restaurantes():
def finalizar_app():
os.system("cls")
print("Encerrando o app...")
def opcao_invalida(opcao):
while opcao < 1 or opcao > 4:
opcao = int(input("Opção inválida, digite novamente: "))
return opcao
def escolher_op():
opcao_escolhida = int(input("Digite uma opção: "))
opcao_escolhida = opcao_invalida(opcao_escolhida)
match opcao_escolhida:
case 1:
print("Cadastrar restaurante")
#cadastrar_restaurantes()
case 2:
print("Listar restaurantes")
#listar_restaurantes()
case 3:
print("Ativar restaurante")
#ativar_restaurantes()
case 4:
finalizar_app()
def main():
exibir_nome_programa_e_opcoes()
escolher_op()
if __name__ == "__main__":
main()