Created
March 19, 2018 03:22
-
-
Save estevaofon/769f17d75b29d6ee0665153edf867e0b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def comprar(): | |
print("Comprando") | |
def perfil(): | |
print("Vendo perfil") | |
def sair(): | |
print("saindo") | |
while True: | |
print("Comprar - 1\nVer meu perfil - 2\n Sair - 3") | |
opcao = input("Digite o numero da opcao") | |
opcao = int(opcao) | |
if opcao == 1: | |
comprar() | |
if opcao == 2: | |
perfil() | |
if opcao == 3: | |
sair() | |
break | |
print("="*20) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment