Commit a4eb0fbe by BellCodeEditor

save project

parent 161124ab
...@@ -14,5 +14,21 @@ def ddddd(): ...@@ -14,5 +14,21 @@ def ddddd():
finally: finally:
print("-"*30) print("-"*30)
return total return total
print(total) def sum(money):
ddddd() count=0
\ No newline at end of file for i in money:
count+=i
return count
price = ddddd()
pay=sum(price)
print("给我"+str(pay)+"元")
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