0
What is the difference between append and extend in list in python?
provide specific with examples
1 Réponse
+ 4
append adds a single element/objext to the end of a list while extend adds all the individual elements of another object/list to the end of the list.
http://thomas-cokelaer.info/blog/2011/03/post-2/