seq_concat_item
Return copy of sequence seq with item added.
def seq_concat_item(
seq: Sequence,
item: Any
) - > Sequence
Return copy of sequence seq with item added.
Parameters
| Name | Type | Description |
|---|---|---|
| seq | Sequence | The original sequence (tuple or list) to which the item will be appended |
| item | Any | The individual element to add to the end of the sequence |
Returns
| Type | Description |
|---|---|
Sequence | If seq is a tuple, the result will be a tuple, otherwise it depends on the implementation of add. |