seq_concat_seq
Concatenate two sequences: a + b.
def seq_concat_seq(
a: Sequence,
b: Sequence
) - > Sequence
Concatenate two sequences: a + b.
Parameters
| Name | Type | Description |
|---|---|---|
| a | Sequence | The first sequence to be concatenated, which may be cast to the type of sequence 'b' if 'b' is longer. |
| b | Sequence | The second sequence to be concatenated, which may be cast to the type of sequence 'a' if 'a' is longer. |
Returns
| Type | Description |
|---|---|
Sequence | The return value will depend on the largest sequence: if b is larger and is a tuple, the return value will be a tuple; if a is larger and is a list, the return value will be a list. |