LIST:INSERT¶
This generator expression belongs to the List Transformations family. See that section for related generator expressions.
Syntax¶
$<LIST:INSERT,list,index,item,...>
Added in version 3.27.
The list with the item (or multiple items) inserted at the specified
index. Multiple items should be separated by commas.
It is an error to specify an out-of-range index. Valid indexes are 0 to N,
where N is the length of the list, inclusive. An empty list has length 0.