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
name = input ('Ingrese sus Nombre (S) : ') | |
lastname = input('Ingrese sus apellidos : ') | |
cell_num = int (input( ' Ingrese su Número de teléfono : ')) | |
mail = input('Ingrese su correo electrónico : ') | |
full_name = name +' '+ lastname | |
print ( 'Hola ' + full_name + ',en breve recibirás un correo a ' + mail ) |
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
cantidad_usuarios = input (' ¿Cuantos nuevos usarios desea registrar? ') | |
if cantidad_usuarios.isdigit(): | |
cantidad_usuarios = int(cantidad_usuarios) | |
usuarios = [] | |
for i in range (cantidad_usuarios): | |
print(f'\n usuario{i+1}:') | |
name = input ('Ingrese sus Nombre (S) : ') | |
lastname = input('Ingrese sus apellidos : ') | |
cell_num = int (input( ' Ingrese su Número de teléfono : ')) |
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
cantidad_usuarios = input("¿Cuántos nuevos usuarios desea registrar? ") | |
if cantidad_usuarios.isdigit(): | |
cantidad_usuarios = int(cantidad_usuarios) | |
usuarios = [] | |
identificadores = [] | |
contador = 1 | |
for i in range(cantidad_usuarios): | |
print(f"\nUsuario {i+1}:") | |
nombre = input("Ingrese su nombre: ") |
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
usuarios = [] | |
identificadores = [] | |
contador = 1 | |
def validar_longitud(cadena, min_longitud, max_longitud): | |
return min_longitud <= len(cadena) <= max_longitud | |
def validar_telefono(telefono): | |
return len(telefono) == 10 and telefono.isdigit() |
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
usuarios = [] | |
identificadores = [] | |
contador = 1 | |
def validar_longitud(cadena, min_longitud, max_longitud): | |
return min_longitud <= len(cadena) <= max_longitud | |
def validar_telefono(telefono): | |
return len(telefono) == 10 and telefono.isdigit() |