Commit 7e0faef6 by BellCodeEditor

save project

parent 8d26774e
Showing with 9 additions and 2 deletions
......@@ -12,4 +12,11 @@ def new_input():
finally:
total.append(unit)
return total
print(new_input())
\ No newline at end of file
def sum(unit):
count=0
for i in unit:
count=count+i
return count
price=new_input()
pay=sum(price)
print('zg'+str(pay)+rmb)
\ 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