Python List extend() Method
Python list extend() is an inbuilt function that adds the specified list elements (or any iterable) to the end of the current list.
The extend() extends the list by adding all items of the list (passed as an argument) to an end.
Syntax
list.extend(iterable)
Parameter Values
iterable : Required. Any iterable (list, set, tuple, etc.)
Comments
Post a Comment