下面的代码,哪个会输出1,2,3三个数字: aList = [0,1,2] for i in aList: print(i)|for i in range(3): print(i)|for i in range(3): print(i+1)|i = 1 while i< 3: print(i) i+=1
主观题
下面的代码,哪个会输出1,2,3三个数字: aList = [0,1,2] for i in aList: print(i)|for i in range(3): print(i)|for i in range(3): print(i+1)|i = 1 while i< 3: print(i) i+=1