Commit ea4c72de by BellCodeEditor

save project

parent c35f3f63
Showing with 10 additions and 3 deletions
def a():
def s():
total = []
while True:
unit= input('请输入:(q退出):')
......@@ -7,4 +7,11 @@ def a():
else:
total.append(unit)
print(total)
a()
\ No newline at end of file
return total
del a(s)
k=0
for i in s:
k=k+i
return k
f=k()
print(f)
\ 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