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

# 另一种写法
for value in range(1,11):
    squares.append(value**2)
print(squares)

print(min(squares))
print(max(squares))
print(sum(squares))