Commit 44f8d412 by BellCodeEditor

save project

parent fe607021
Showing with 9 additions and 2 deletions
......@@ -13,4 +13,11 @@ def new_input():
total.append(b)
print('*****888****************************************************8*******')
return total
print(new_iuput() nb)nb
\ No newline at end of file
def sum(b):
count = 0
for i in b:
count = count + int(i)
return count
price=new_input()
pay = sum(price)
print('给'+str(pay)+'元')
\ 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