Commit 42e6a825 by BellCodeEditor

save project

parent ed8a5d9d
Showing with 9 additions and 4 deletions
......@@ -13,8 +13,13 @@ def new_input():
total.append(unit)
return(total)
def sum(money):
count=0
for i in money:
count=count+1
return count
result=new_input()
print(result)
\ No newline at end of file
prict=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