Commit c7db3551 by BellCodeEditor

save project

parent fe2d7e04
Showing with 13 additions and 10 deletions
...@@ -13,13 +13,16 @@ def new_input(): ...@@ -13,13 +13,16 @@ def new_input():
a.append(l) a.append(l)
print('-'*30) print('-'*30)
return a return a
f=0
for i in new_input:
d=
n =new_input()
print (n)
new_input()
def sum(money):
h=0
\ No newline at end of file for i in new_input:
h=h+i
return h
n =new_input()
k=sum(n)
print('您一共消费'+str(k)+'元!扫码还是现金呢')
\ 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