Explain any four list functions and methods with example.
Answers
Answered by
1
Method Description
count() Returns the number of elements with the specified value
extend() Add the elements of a list (or any iterable), to the end of the current list
index() Returns the index of the first element with the specified value
insert() Adds an element at the specified position
Similar questions
Math,
1 month ago
Math,
1 month ago
History,
10 months ago
Math,
10 months ago
Computer Science,
10 months ago