List
builtin list
1 2 3 4 5 6 | |
Members
push(elements...)pushes all given elements to the listpop(n=1)removes the last n elementsclear()empties the listsizethe current size of the listcapacitythe capacity of the; this value describes after what size a push triggers a resizeemptyif the list is emptyfrontthe first element of the listbackthe last element of the listreserve(capacity)reserves more spaceshrink_to_fit()shrinks the list and releases unused memoryinsert(index, elements...)inserts the elements at the given indexerase(index, n=1)erases from index n elementsreverse()reverses the list inplace