Add lots of things(including tests)
This commit is contained in:
2
test/compact/compact.py
Normal file
2
test/compact/compact.py
Normal file
@@ -0,0 +1,2 @@
|
||||
def compact(arr):
|
||||
return list(filter(lambda x: bool(x), arr))
|
||||
Reference in New Issue
Block a user