Commit a2603cde by BellCodeEditor

save project

parent 086e724f
Showing with 7 additions and 1 deletions
......@@ -11,6 +11,11 @@ def new_input():
else:
total.append(unit)
return total
def
def sum(money):
a=0
for i in (money):
a=a+i
return a
list=new_input()
print(sum(list),"元")
print(list)
\ 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