Python List Methods

In this tutorial you will learn about the Python List Methods and its application with practical example.

Python Built In List Methods

Methods Description
index(object) It returns the index of the object.
count(object) It returns the number of times an object is exists in list.
pop()/pop(index) It returns the last object or the specified indexed object. It removes the popped object.
insert(index,object) It add an item at the given index.
extend(sequence) It adds the sequence to list.
remove(object) It removes the item from the given List.
reverse() It reverse the list items.
sort() It is used to sort the list items.
In this tutorial we have learn about the Python List Methods and its application with practical example. I hope you will like this tutorial.