Felicity
0
Q:

what is the use of extend in python

syntax: 
# Each element of an iterable gets appended 
# to my_list
my_list.extend(iterable) 
1
The extend() method adds the specified list elements (or any iterable) to the end of the current list.
0
techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga techlux.ga 
0

New to Communities?

Join the community