下面代码的输出结果是list1 = []for i in range(1,11):list1.append(i**2)print(list1)
A. 错误
B. [1, 4, 9, 16, 25, 36, 49, 64, 81, 100]
C. 1, 4, 9, 16, 25, 36, 49, 64, 81, 100
D. [2, 4, 6, 8, 10, 12, 14, 16, 18, 20]