Commit e4e4e845 by BellCodeEditor

save project

parent 5b14107b
Showing with 1 additions and 0 deletions
...@@ -21,6 +21,7 @@ def sum(money): ...@@ -21,6 +21,7 @@ def sum(money):
# 遍历列表 # 遍历列表
for i in money: for i in money:
# 计算总价 # 计算总价
count=count+i
# 返回总数count # 返回总数count
return count return count
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment