List Method
Python has some list methods that you can use to perform frequency occurring task (related to listing) with ease. For example, if you want to add an element to a list, you can use
append()
method.
The page contains all methods of list objects. Also, the page includes functions that can take list as a parameter and perform some task. For example,
all()
function returns True
if all elements of an list (iterable) is true. If not, it returns False
.
List Method
Reviewed by ohhhvictor
on
May 07, 2019
Rating:
No comments: