(单选题, )下面的代码,下面会输出1,2,3的是( )
A.for i in range(3): Print(i) B.aList = [0,1,2]正确答案B
for i in aList:
aList[i]=i+1
print(*aList,sep=',') C.
I = 1
While i<3:
print(i)
i+=1 D.
For i in range(3):
print(i+1)
(单选题, )下面的代码,下面会输出1,2,3的是( )
A.for i in range(3): Print(i) B.aList = [0,1,2]正确答案B
for i in aList:
aList[i]=i+1
print(*aList,sep=',') C.
I = 1
While i<3:
print(i)
i+=1 D.
For i in range(3):
print(i+1)