for in range 11 append

1
2
3
a = []
for i in range(1, 11):
a.append(i ** 2)