下列选项中,会输出1,2,3三个数字的是()
(A)for i in range(3): print(i)
(B)for i in range(2): print(i + 1)
(C)a_list = (0,1,2] for i in a_list: print(i + 1)
(D)i = 1 while i < 3:prirt(i) i = i + 1
参考答案
继续答题:下一题
(A)for i in range(3): print(i)
(B)for i in range(2): print(i + 1)
(C)a_list = (0,1,2] for i in a_list: print(i + 1)
(D)i = 1 while i < 3:prirt(i) i = i + 1