Commit dac76656 by BellCodeEditor

auto save

parent d51ebd07
Showing with 12 additions and 2 deletions
......@@ -14,5 +14,14 @@ def u():
finally:
print("_ "*30)
return total
result=u()
print(result)
def sum(money):
count=0
for i in money:
count=count+i
return count
o=u()
pey=sum(o)
print("="*40)
print("您共消费
"+str(pey)+"元")
\ 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