Definition of List
List is a collection which is ordered and changeable. Allows duplicate members.
list.clear()
Removes all elements from the list.
list.copy()
Returns a copy of the list.
list.count()
Returns the number of elements with a specified value.
list.extend()
Add the elements of a list to the end of the current list.
list.index()
Returns the index of the first occurrence of a value.
list.insert()
Adds an element at a specified location.
list.pop()
Removes the element at the specified location.
list.remove()
Removes the item with the specified value.
list.reverse()
Reverses the order of the list.
list.sort()
Sorts the list.
list.append()
Adds an element to the end of the list.