• 2022-06-03
    下面的循环体执行的次数与其它不同的是:( )
    A: i = 0
    while( i <= 100):
    print( i)
    i = i + 1
    B: for i in range(100):
    print( i)
    C: for i in range(100, 0, -1):
    print(i)
    D: i = 100
    while(i > 0):
    print( i)
    i = i – 1