2 lines
61 B
Python

squares = [value**2 for value in range(1, 11)]
print(squares)