• 2022-07-26
    下面代码中输出结果为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=1
    while i<3:
    print(i)
    i+=1
    D: for i in range(3,0,-1):
    print(i+1)
    E: i=3
    while i>0:
    i=i-1
    print(3-i)