Difference between append vs. Extend list methods in python
Answer / Amitesh Srivastava
The 'append' method adds an element to the end of a list, whereas the 'extend' method takes a list as an argument and appends all elements of that list to the current one.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the rules for local and global variables in Python?
What is python and explain some of its benefits?
How to get the ascii value in python?
python is case sensitive ?
What does do in c?
How can I find methods or attributes of an object in Python?
What is the difference between range & xrange? Explain?
What is the difference between range and xrange in python?
How will you verify different flags at once?
Which data type you prefer to implement when deal with seuential data?
What is the output of print str * 2 if str = 'hello world!'?
What is end in python?