Добавить u2/list_ops.py
This commit is contained in:
parent
72bd115370
commit
9460eeb97d
7
u2/list_ops.py
Normal file
7
u2/list_ops.py
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
def length(list):
|
||||||
|
count = 0
|
||||||
|
for item in list:
|
||||||
|
count +=1
|
||||||
|
return count
|
||||||
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user