list.append

Syntax

lret := list.append(l,a...)

Returns a new list with one or more parameters a appended to the end of list l. Does not expand any contents of a. If a is a list (for example) then the last entry in the returned list l will be a list.

To extend a list with another list see the function list.extend.

Returns:lret - the list created by appending to the input list.
Arguments:l - the input list. a - the values appended to l. :…:\(.\)