Commit ac6a6c9d by BellCodeEditor

save project

parent eb77a4e3
Showing with 8 additions and 3 deletions
...@@ -11,6 +11,11 @@ def wsnbb(): ...@@ -11,6 +11,11 @@ def wsnbb():
total.append(unit) total.append(unit)
if unit=="q": if unit=="q":
break break
print(total)
return total return total
print(wsnbb()) s=wsnbb()
\ No newline at end of file def sb(w):
unit=0
for i in w:
unit=unit+i
return unit
print(sb(s))
\ 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