Home »
Python »
Python List MCQs
How to use extend() method to insert the element?
23. How to use extend() method to insert the element?
- List(extend[element])
- List.extend (elements)
- List.extend ([elements])
Answer: C) List.extend ([elements])
Explanation:
To use extend method we will use the following syntax: - List.extend ([elements])