在Python中,原則上迴圈有兩種(while and for),在此先介紹while loop。 ... 順帶一提的是,若要加總一個list,可以直接使用Python的內建函數sum()來達成即可。
確定! 回上一頁