From 36acda471cdbf059ea3d630fa64ee8fc9ded23f0 Mon Sep 17 00:00:00 2001 From: Rohit Tanwar Date: Wed, 17 Jan 2018 09:50:48 +0000 Subject: [PATCH] travis_commit --- README.md | 109 +-------------------------------------- snippets/deep_flatten.md | 1 + 2 files changed, 2 insertions(+), 108 deletions(-) diff --git a/README.md b/README.md index c08811b9b..80c8a4ccd 100644 --- a/README.md +++ b/README.md @@ -95,119 +95,12 @@ def spread(arg): 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] ``` + ### gcd Calculates the greatest common divisor between two or more numbers/lists. diff --git a/snippets/deep_flatten.md b/snippets/deep_flatten.md index eed6f3be0..be25ff214 100644 --- a/snippets/deep_flatten.md +++ b/snippets/deep_flatten.md @@ -20,6 +20,7 @@ def spread(arg): result = [] result.extend(spread(list(map(lambda x : deep(x) if type(x) == list else x,arr)))) return result + ``` ```python