Commit 3fd06a18 by BellCodeEditor

save project

parent 70dbad1f
Showing with 16 additions and 6 deletions
...@@ -6,9 +6,20 @@ def c_m (): ...@@ -6,9 +6,20 @@ def c_m ():
except: except:
print(sb) print(sb)
else: else:
if unit== 0: if unit== 0:
break break
else: else:
total.append(unit) total.append(unit)
print(total) print(total)
c_m() c_m()
\ No newline at end of file
def add(mo):
co = 0
for i in mo:
co = co + i
print(co)
return co
r = add(mo)
print(r)
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