下面代码的输出结果是( )list1 = []for i in range(1,11):list1.append(i**2)print(list1)
A. [1, 4, 9, 16, 25, 36, 49, 64, 81, 100]
B. [0,1, 4, 9, 16, 25, 36, 49, 64, 81, 100]
C. [0,2, 4, 6, 8, 10, 12, 14, 16, 18, 20]
D. 2, 4, 6, 8, 10, 12, 14, 16, 18, 20]
执行下面操作后,list2的值是()list1 = [4,5,6]list2 = list1list1[2] = 3
A. [4,5,3]
B. [4,3,6]
C. [4,5,6]
D. 都不正确
下面代码的输出结果是( )vlist = list(range(5))for e in vlist:print(e,end=",")
A. 0 1 2 3 4
B. 0,1,2,3,4,
C. 0,1,2,3,4
D. [0, 1, 2, 3, 4]