This file contains hidden or 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
| personas = [] | |
| id = [] | |
| def new_user(): | |
| nombre = input("Escribe tu nombre(s): ") | |
| apellido = input("Escribe tus Apellidos: ") | |
| telefono = input("Escribe tu número de teléfono: ") | |
| correo = input("Escribe tu Correo electrónico: ") |
This file contains hidden or 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
| opcion = "" | |
| while opcion != "E": | |
| print("Menú:") | |
| print("A) Registrar nuevos usuarios") | |
| print("B) Listar usuarios") | |
| print("C) Ver información de un usuario") | |
| print("D) Editar información de un usuario") |
This file contains hidden or 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
| persona=int(input("Escribe cuantas personas va a agregar: ")) | |
| contador=1 | |
| contador_nombre=1 | |
| contador_apellido=1 | |
| contador_telefono=1 | |
| contador_correo=1 | |
| id=[] | |
| while contador<=persona: | |
| nombre = input("Escribe tu nombre(s): ") |
This file contains hidden or 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
| persona=int(input("Escribe cuantas personas va a agregar: ")) | |
| contador=1 | |
| contador_nombre=1 | |
| contador_apellido=1 | |
| contador_telefono=1 | |
| contador_correo=1 | |
| while contador<=persona: | |
| nombre = input("Escribe tu nombre(s): ") |
This file contains hidden or 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
| nombre=input("Escribe tu nombre(s): ") | |
| apellido=input("Escribe tus Apellidos: ") | |
| telefono=int( input("Escribe tu número de teléfono: ")) | |
| correo=input("Escribe tu Correo electrónico: ") | |
| print("Hola " + nombre + " en breve recibirás un correo a "+ correo +".") |