Commit 68f461c1 by BellCodeEditor

save project

parent ab3113c4
Showing with 2 additions and 2 deletions
......@@ -15,14 +15,14 @@ def new_input():
print("=====================")
return total
# 创建函数sum放入参数money
def sum(money):+
def sum(money):
# 设置变量count
count=0
# 遍历列表
for i in money:
# 计算总价
return count
# 返回总数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