How to use extend() method to insert the element?

23. How to use extend() method to insert the element?

  1. List(extend[element])
  2. List.extend (elements)
  3. List.extend ([elements])

Answer: C) List.extend ([elements])

Explanation:

To use extend method we will use the following syntax: - List.extend ([elements])

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.