while x<10: x += 1 #the '+= ' which is typical in C also works in python print x for i in range(0,10): #range(0,10) returns a list of values from 0 to 9.
確定! 回上一頁