From bb1e0b5c64cc851a13b335aeecb6669553c99e12 Mon Sep 17 00:00:00 2001 From: monoid Date: Tue, 22 Feb 2022 16:31:56 +0900 Subject: [PATCH] ADD: add line sep --- groupby_index.py | 1 + 1 file changed, 1 insertion(+) diff --git a/groupby_index.py b/groupby_index.py index 517bd3c..0c37a6d 100644 --- a/groupby_index.py +++ b/groupby_index.py @@ -29,6 +29,7 @@ if __name__ == "__main__": test_list = [*range(20,-10,-1)] for g in groupby_index(test_list,4): print([*g]) + print("===") print([*map(lambda x:[*x],groupby_index([1,2,3,4],2))]) for g in groupby_index([1,2,3,4],2): print([*g])