Commit a4eb0fbe by BellCodeEditor

save project

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