Commit 6d929f4f by BellCodeEditor

save project

parent a6bfeefa
Showing with 9 additions and 2 deletions
......@@ -12,6 +12,12 @@ def hgvtfg():
else:
total.append(unit)
return total
result=hgvtfg()
print(result)
def sum(money):
count=0
for i in money:
count=count+i
return count
price=hgvtfg()
pay=sum(price)
print(str(pay)+"元")
\ No newline at end of file
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