【简答题】下面的代码,哪些会输出1,2,3,三个数字()A. for i in range(3): print(i) B. aList = [0,1,2]for i in aList: print(i+1) C. i = 1while 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]for i in aList: print(i+1)C. i = 1while i<3: print(i) i+=1D. for i in range(3): Print(i+1)