|||
Find duplicates in the iterable s
Iterator[TypeVar(T)]
Iterator
TypeVar
T
Example
>>> l = [1, 2, 3, 1, 4, 2, 5, 6] >>> list(duplicates(s)) [2, 1]
<Page contents
>Page contents:
duplicates()
Styled using the Piccolo Theme