Commit ac6a6c9d by BellCodeEditor

save project

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