next up previous contents index
suivant: Prepend an element at monter: Lists and vectors précédent: Concatenate two lists or   Table des matières   Index


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]]



giac documentation written by Renée De Graeve and Bernard Parisse