for i in range(n) : python command1 ... FOR LOOP的例子(1): 一樣的指令做n次. 4 print('hello world!') ... 可以在迴圈內輸出i與A的值來觀察變化print(i,A) ...
確定! 回上一頁