Lst.append (x) | add element x to the list LST trailer
Lst.extend (L) | Add all elements from list L to the list LST tail
Lst.insert (index, x) | add element x at the list LST Development position index, and all elements behind that position move back one position
Lst.remove (x) | Deletes the first occurrence of the specified element in the list lst, with all elements after that element moving forward one
Lst.pop ([index]) | Delete and return the elements in the list LST table below index (Default-1)
Lst.clear () | Delete list lst all elements, but keep list objects
Lst.index (x) | Returns the number of occurrences of the specified element x in the list LST
Lst.reverse () | Reverse the list of all elements
Lst.sort (Key=none, reverse=flase) | Sorts the elements in the list LST, where key is used to specify the sort by, reverse determines whether ascending (False) or descending (True)
Lst.copy () | Returns a shallow copy of the list LST
Python Fundamentals: A list of common methods