parent
57f4c5bb83
commit
546ef9393b
1 changed files with 42 additions and 0 deletions
@ -0,0 +1,42 @@ |
||||
### PROJETOS ASPIN ####################### |
||||
### Por Adriano Baumart |
||||
### Versão: 1.0.0 Data: 26/09/2022 |
||||
### Desafio do Curso de Pyhton |
||||
########################################### |
||||
menu = [ |
||||
{ |
||||
'cod': 1, |
||||
'opcao': 'ASPINBOTS' |
||||
}, |
||||
{ |
||||
'cod': 2, |
||||
'opcao': 'ASPIN' |
||||
}, |
||||
{ |
||||
'cod': 3, |
||||
'opcao': 'Enviar e-mails' |
||||
} |
||||
] |
||||
|
||||
|
||||
# Menu principal |
||||
while True: |
||||
print('='* 52) |
||||
print('ASPIN BOTS - Sitema de automação do Setor de Projetos') |
||||
print('=' * 52) |
||||
print('MENU PRINCIPAL') |
||||
# Imprime o Menu |
||||
for item in menu: |
||||
print(f'[ {item["cod"]} ] - {item["opcao"]}') |
||||
|
||||
op = int(input('Opção (999 para Sair): ')) |
||||
if op == 1: |
||||
print('ASPINBOTS') |
||||
elif op == 2: |
||||
print('ASPIN') |
||||
elif op == 3: |
||||
# Enviar e-mails. |
||||
print('MENU - Envio de e-mails') |
||||
|
||||
elif op == 999: |
||||
break |
||||
Loading…
Reference in new issue