JustCaptain kod-buduschego
53f23cfd3cd1680139f6a3e77997f1cb3a9b19b3
Перейти к файлу
Код
task_3.py
numbers: list[int] = [1, 2, 3, 4, 5, 6]
squares = list((x**2 for x in numbers))
print(squares)