How to generate the list of consecutive pairs from a list?
88991
How to generate Intervals from a given list?
157292
Count the number of max consecutive "a"'s from a string. Python 3
4235
Is there a better way to iterate over two lists, getting one element from each list for each iteration?
1058
Get the cartesian product of a series of lists?
143387
Pairwise circular Python 'for' loop
36287
How to create all possible permutations?
45413
How can I get every nth item from a List?
22567
Python: using a recursive algorithm as a generator
6125
Combinatorial expression for all ternary strings that don't have consecutive 1's and 2's
28727
Interlacing a single number into a long list
63987
Generate all combinations from multiple lists
64974
How can I generate all permutations / combinations of multiple arrays?
73206
recursion-consecutive numbers
84882
How can I create lists from a list of strings?
68791
Creating a list in Python with multiple copies of a given object in a single line
67173
How to collapse consecutive numbers into ranges?
108563
Detecting consecutive integers in a list