1 Answers
Methods or operations performed on list:
- #append() – adds an element at the end of the list
- #insert() – adds an element at the specified position
- #extend() – adds the elements of a list ( or any iterable), to the end of the current list
- #copy() – returns a copy of the list
- #count() – retuns the number of elements with the specified value
- #clear() – removes all the elements from the list
- #index() – returns the index of the first element with the specified value
- #remove() – removes the item with the specified value
- #pop() – removes the order of the list
- #reverse() – reverses the order of the list
- #sort() – sorts the list