Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print('|Ej 9|\n')
- lista_inicial = [5, 3, 1, 2, 4]
- lista_cuadrado = []
- for i in lista_inicial:
- print(f'{i} * {i} = ', end='')
- lista_cuadrado.append(i**2)
- print(lista_cuadrado[len(lista_cuadrado)-1])
- print('\nFin de la ejecucion!\n')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement