下面的python代码,哪些可以输出 1,2,3 三个数字(多选,选错不得分)
for i in range(3): print(i)
a = [0,1,2]
for i in a: print(i+1)
i = 1
while i < 3: print(i) i+=1
for i in range(3): print(i+1)