Commit 0bb0d1d7 by BellCodeEditor

save project

parent e9dd9184
Showing with 2 additions and 1 deletions
......@@ -16,7 +16,7 @@ def sum(list):
he=0
for i in list:
he+=i
return he
return he
total=new_input()
he=sum(total)
print("您一共消费了",he,"元,扫码还是现金呢?")
\ 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