|||
Yield all combinations of the elements of seq :rtype: Generator[Tuple[TypeVar(T), ...], None, None]
Generator
Tuple
TypeVar
T
...
None
items can be repeated: (0, 1, 1) is a valid answer
position is relevant: (0, 1, 2) is not the same as (2, 1, 0)
<Page contents
>Page contents:
combinations_with_repetition()
Styled using the Piccolo Theme