last
Return the last item in a list.
def last(
value: sequence
) - > any
Return the last item in a list.
Parameters
| Name | Type | Description |
|---|---|---|
| value | sequence | The list or sequence from which to retrieve the final item |
Returns
| Type | Description |
|---|---|
any | The last element of the sequence, or an empty string if the sequence is empty |