diff --git a/snippets/deep_flatten.md b/snippets/deep_flatten.md index 468f48f52..eed6f3be0 100644 --- a/snippets/deep_flatten.md +++ b/snippets/deep_flatten.md @@ -20,117 +20,8 @@ def spread(arg): result = [] result.extend(spread(list(map(lambda x : deep(x) if type(x) == list else x,arr)))) return result - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ``` ```python deep_flatten([1, [2], [[3], 4], 5]) # [1,2,3,4,5] -``` \ No newline at end of file +```