Python Programming - Lists - Discussion

Discussion Forum : Lists - General Questions (Q.No. 41)
41.
What is the purpose of the insert() method in Python lists?
Appends an element at the end of the list.
Inserts an element at a specified index in the list.
Removes the first occurrence of a specific element.
Deletes an element at a specified index in the list.
Answer: Option
Explanation:
The insert() method is used to insert an element at a specified index in the list.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.