Skip to content

Commit 288a814

Browse files
author
Max Base
authored
removeNoneArray()
1 parent 0948b87 commit 288a814

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

main.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,3 +143,10 @@ def subscriptionsFilter(subscriptions):
143143
if len(subscription) >= countChild-1:
144144
results.append(subscription)
145145
return results
146+
147+
def removeNoneArray(array):
148+
result=[]
149+
for item in array:
150+
if item != None:
151+
result.append(item)
152+
return result

0 commit comments

Comments
 (0)