How do you extend in python?
Answer / Rubina Parveen
To extend a list in Python, you can use the `extend()` function. For example, `my_list.extend(other_list)` adds all elements from the `other_list` to the end of the `my_list`. You can also use the `+` operator to concatenate two lists together.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain try, raise, and finally?
What is the incorrect declaration of a set?
What good is recursion?
What are all the operating system that python can run on?
What is set in python 3?
What is the difference between encapsulation and abstraction in python?
Which is best gui for python?
Why do we use __ init __ in python?
Does python have private methods?
Differentiate between deep and shallow copy in python?
Explain me dogpile effect? How can you prevent this effect?
What does float () do in python?