squares=[]for value in range(1,11):square=value**2squares.append(squarse)print(squares)
输出内容为【100】书上的输出为【1.4.9.16.25.36.49.64.81.100】