Commit 365f2b64 by BellCodeEditor

auto save

parent 209d7fab
Showing with 5 additions and 5 deletions
......@@ -14,13 +14,13 @@ def new_input():
total.append(unit)
print(30*'*')
return total
# a=new_input()
# print(a)
a=new_input()
print(a)
def sum(money):
k=0
for i in money:
k+=i
print(k)
return sum
# b=sum(a)
# print('您一共消费了'+str(money)+'元,扫码还是现金?')
\ No newline at end of file
b=sum(a)
print('您一共消费了'+str(money)+'元,扫码还是现金?')
\ 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