📌  相关文章
📜  'int' 对象不可调用 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:45.637000             🧑  作者: Mango

代码示例3
item_price = [10, 33, 55, 77]
total_price = 0
total_price = sum(item_price)
print("The sum of all the items is:", str(total_price))