Skip to content

Instantly share code, notes, and snippets.

@daviwesley
Created June 24, 2018 19:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daviwesley/c3dde02f9a8e8a36ddb0687fd6b16455 to your computer and use it in GitHub Desktop.
Save daviwesley/c3dde02f9a8e8a36ddb0687fd6b16455 to your computer and use it in GitHub Desktop.
opcao = 0
while opcao != 6:
print(''' [1] Criar aquivo
[2] Apagar aquivo
[3] Ler aquivo
[4] Gravar aquivo
[5] Inserir conteúdo no final do aquivo
[6] Sair
''')
opcao = int(input("Qual é sua opção?"))
if opcao == 1:
pass
elif opcao == 2:
pass
elif opcao == 3:
pass
elif opcao == 4:
pass
elif opcao == 5:
pass
elif opcao == 6:
pass
else:
print("Opção inválida. Tente novamente")
print("==" * 10)
print("Terminou :)")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment