Commit 44f8d412 by BellCodeEditor

save project

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