Commit 72456ad2 by BellCodeEditor

save project

parent fa1c9d67
Showing with 4 additions and 3 deletions
......@@ -10,9 +10,9 @@ def new_input():
except:
print('请输入整数')
else:
total.append(unit)
total.append(a)
return total
del a(b):
def a(b):
c=0
for i in b:
c+=i
......@@ -20,5 +20,5 @@ del a(b):
result = new_input()
pay=result
pay=a(result)
print(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