Reference Materials
Certification Courses
Created with over a decade of experience and thousands of feedback.
Python List Methods
Python has a lot of list methods that allow us to work with lists. In this reference page, you will find all the list methods to work with Python List. For example, if you want to add a single item to the end of the list, you can use the list.append() method.
Adds a single item to the end of the list
Removes all items from the list
Returns a shallow copy of the list
Returns count of an item in the list
Adds iterable items to the end of a list
Returns the index of the item in a list
Insert an item at a specified index
Removes item at a specified index
Removes an item from the list
Reverse items of a list
Sort items of a list