瞭解如何在Python 中對數字列表求和. ... 2, 3, 4, 5, 6, 7, 8, 9, 10] listSum = sum(myList) print(f"Sum of list -> {listSum}").
確定! 回上一頁