Python List_Array Methods
Python List_Array Methods
Dark code
Tutorials Exercises Get Certified Services Menu Bootcamps Spaces Sign Up Log in
HTML
CSS JAVASCRIPT SQL PYTHON JAVA PHP HOW TO W3.CSS C C++ C# BOOTSTRAP
REACT
Python has a set of built-in methods that you can use on lists/arrays.
Method Description
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
remove() Removes the first item with the specified value Dark mode
https://www.w3schools.com/python/python_ref_list.asp k d 1/6