Python 中有兩種迴圈,分別是while 迴圈(while loop) 與for 迴圈(for loop) 。 ... 圈會一直重複執行,此例中會不斷的在命令列印出10 ,直到強制結束程式的執行為止。
確定! 回上一頁