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
def new_user(): | |
# Solicitud de informacion | |
users = {} | |
usuarioIdContador = 0 | |
cantidadUsuarios = int(input("Cuantos usuarios desea registrar? ")) | |
for i in range(1, cantidadUsuarios + 1): | |
print(">") | |
nombre = input(f"Ingresa tu nombre de la persona {i} a continuacion: ") | |
while len(nombre) > 50 or len(nombre) < 5: | |
print("*" * asteriscos) |
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
# Variables | |
contadorUsuarios = 1 | |
usuarioIdContador = 0 | |
listaId = [] | |
asteriscos = 100 | |
users = {} | |
ingresoSistema = True | |
while ingresoSistema: |
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
# Variables | |
contadorUsuarios = 1 | |
usuarioIdContador = 0 | |
listaId = [] | |
asteriscos = 100 | |
# Inicio | |
print("*" * asteriscos) | |
print("Bienvenido al registro de usuarios") | |
print("Por favor ingresa la información que se solicita a continuacion: ") |
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
# Variables | |
contadorUsuarios = 1 | |
# Inicio | |
print("*" * 50) | |
print("Bienvenido al registro de usuarios") | |
print("Por favor ingresa la información que se solicita a continuacion: ") | |
print("*" * 50) | |
# Solicitud de informacion |
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
# Inicio | |
print('*' * 50) | |
print('Bienvenido al registro de usuarios') | |
print('Por favor ingresa la información que se solicita a continuacion: ') | |
print('*' * 50) | |
# Solicitud de informacion | |
print('>') | |
nombre = input('Ingresa tu nombre a continuacion: ') | |
print('>') |