Commit 0fd795cd by BellCodeEditor

save project

parent e5129d9f
Showing with 8 additions and 1 deletions
total = []
def sum(kk):
for i in kk:
l=0
l=l+i
return l
def sb():
total = []
while True:
unit= input("请输入:")
if unit== 'q':
......@@ -12,3 +17,4 @@ def sb():
else:
total.append(unit)
print(total)
return total
\ 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