Commit 682b08f0 by BellCodeEditor

auto save

parent d4ad662c
Showing with 6 additions and 2 deletions
......@@ -14,4 +14,8 @@ def xx():
print("-"*30)
print(total)
a=xx()
print(a)
\ No newline at end of file
sum=0
for i in a:
sum=sum+i
print("你消费了"+str(sum)+"元")
\ 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