Previous Up Next

2.37.16  Append an element at the end of a list : append

append takes as argument a list and an element.
append puts this element at the end of this list.
Input :

append([3,4,2],1)

Output :

[3,4,2,1]

Input :

append([1,2],[3,4])

Output :

[1,2,[3,4]]

Previous Up Next