ADD: add line sep
This commit is contained in:
parent
92205ea795
commit
bb1e0b5c64
@ -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])
|
||||||
|
Loading…
Reference in New Issue
Block a user