Python List extend() Method

Published: 01 January 1970
on channel: upendra dwivedi
11
1

https://svadhyayawithupendradwivedi.b...


https://svadhyayawithupendradwivedi.b...


Python list method extend()

 It extends existing list with provided sequence from another list.

List - Sample_list_1 = [123, 'abc', 'xyz', 123, '06-May-2020']
Sample_list_2 = [456, ‘def’, '07-May-2020']
Output
Sample_list_1 = [123, 'abc', 'xyz', 123, '06-May-2020', 456, ‘def’, '07-May-2020']

Syntax
Sample_list.extend(seq)
Parameters
seq – The is elements from another list.
Return Value
return updated list with extended elements.


On this page of the site you can watch the video online Python List extend() Method with a duration of hours minute second in good quality, which was uploaded by the user upendra dwivedi 01 January 1970, share the link with friends and acquaintances, this video has already been watched 11 times on youtube and it was liked by 1 viewers. Enjoy your viewing!