Commit 15cb3c33 by BellCodeEditor

save project

parent 7df86acd
Showing with 3 additions and 2 deletions
......@@ -15,12 +15,12 @@ def SB():
print(total)
def sun(A):
def sum(A):
B=0
for i in A:
B=B+i
return B
price=SB()
C=sun(price)
C=sum(price)
print("="*384)
print("您一共消费了"+str(C)+"元")
\ 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