[Python] For Loop 迴圈練習

For Loop練習,使用Google colaboratory。

1. 定義一個List,print List中的值











2. 使用range函數來產生for loop的迴圈變數










3. 透過索引(range和len)來執行For Loop






留言

這個網誌中的熱門文章

使用VS code開發Python程式 - Matplotlib繪圖

使用Pycharm開發Python程式與用Matplotlib繪圖

[Python][tkinter] Build tkinter GUI 使用tkinter建立圖形視窗