在Python 中有個叫做串列(list) 的資料結構,用法跟在其它程式語言的陣列(Array) 差不多,我們可以 ... sum = 0 i = 1 while i <= 10: sum = sum + i
確定! 回上一頁