Inserts separator
after each item in iterable
.
PARAMETERS
Name | Description | Default Value |
---|---|---|
separator | The value to insert after each item in iterable. | none |
iterable | The list into which to intersperse the separator. | none |
Inserts separator
before each item in iterable
.
PARAMETERS
Name | Description | Default Value |
---|---|---|
separator | The value to insert before each item in iterable. | none |
iterable | The list into which to intersperse the separator. | none |
Returns a list of unique elements in iterable
.
Requires all the elements to be hashable.
PARAMETERS
Name | Description | Default Value |
---|---|---|
iterable | An iterable to filter. | none |