What are methods present in list?

append(): adds an item to the end of the list
extend(): adds multiple items to the end of the list
insert(): inserts an item at a specific position in the list
remove(): removes an item from the list
pop(): removes and returns an item from a specific position in the list
index(): returns the index of the first occurrence of a specific item in the list
count(): returns the number of occurrences of a specific item in the list
sort(): sorts the items of the list in ascending order
reverse(): reverses the order of the items in the list
clear(): removes all items from the list
copy(): returns a copy of the list.

2 Likes

Correct. Good going :boom: