Commit 98fea7ab by BellCodeEditor

save project

parent af3eeb92
Showing with 7 additions and 8 deletions
......@@ -15,12 +15,11 @@ def new_input():
else:
total.append(unit)
return total
def add(count):
a = new_input()
for i in a:
print(i)
add2 = new_input()
def sum(add):
add1 = 0
for i in add:
add1 += i
return add1
print(total)
new_input()
print("总金额是" ,sum(add2) )
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