Python List - Array Methods
Python List - Array Methods
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
Note: Python does not have built-in support for Arrays, but Python Lists can be used instead.
https://www.w3schools.com/python/python_ref_list.asp[31/1/2021 22:14:18]