Commit 17bc1e6b by BellCodeEditor

save project

parent 70c0547b
Showing with 11 additions and 3 deletions
...@@ -11,7 +11,15 @@ def new_input(): ...@@ -11,7 +11,15 @@ def new_input():
print('请输入整数') print('请输入整数')
else: else:
total.append(unit) total.append(unit)
print(total) return total
del a(b):
c=0
for i in b:
c+=i
return c
new_input() new_input()
result = new_input() result = new_input()
print(result) pay=result
\ No newline at end of file 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