在我們簡單地呼叫 sum 函式的情況下,函式將每個元素新增到變數 sum 並返回。 ... python def sum(list): if len(list) == 1: return list[0] else: ...
確定! 回上一頁