Built - In Methods in Python
Built - In Methods in Python
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
Method Description
items() Returns a list containing a tuple for each key value pair
setdefault() Returns the value of the specified key. If the key does not exist: insert the key, with the s
value
Method Description
index() Searches the tuple for a specified value and returns the position of
where it was found
Method Description