Created
December 15, 2018 23:50
-
-
Save parzibyte/2c2932252d2a578269aa77af358a0169 to your computer and use it in GitHub Desktop.
Supuesto switch Python - https://repl.it/@parzibyte/AridElementaryDonateware
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
menu = """Bienvenido a la tienda. | |
1 - Insertar producto | |
2 - Ver todos | |
3 - Actualizar | |
4 - Eliminar | |
5 - Salir | |
""" | |
eleccion = int(input("Elige")) | |
switch eleccion: | |
case 1: | |
print("Insertar") | |
break | |
case 2: | |
print("Ver") | |
break; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment