(2) 給定一個都是整數的資料列,定義一個函數. 將所有的資料加總傳回。 def sum_list(L): total = 0 for i in range(len(L)): total = total + L ...
確定! 回上一頁