ADD: add line sep

This commit is contained in:
monoid 2022-02-22 16:31:56 +09:00
parent 92205ea795
commit bb1e0b5c64

View File

@ -29,6 +29,7 @@ if __name__ == "__main__":
test_list = [*range(20,-10,-1)] test_list = [*range(20,-10,-1)]
for g in groupby_index(test_list,4): for g in groupby_index(test_list,4):
print([*g]) print([*g])
print("===")
print([*map(lambda x:[*x],groupby_index([1,2,3,4],2))]) print([*map(lambda x:[*x],groupby_index([1,2,3,4],2))])
for g in groupby_index([1,2,3,4],2): for g in groupby_index([1,2,3,4],2):
print([*g]) print([*g])