Which command can we use insert 5 at the third position in the list 1?

To insert 5 to the third position in list1, we use which command?

To insert 5 to the third position in list1, we use which command?

A. list1.insert(3, 5)लिस्ट 1.इन्सर्ट (3, 5)
B. list1.insert(2, 5)लिस्ट1.इन्सर्ट(2, 5)
C. list1.add(3, 5)लिस्ट1. ऐड(3, 5)
D. list1.append(3, 5)लिस्ट1.append(3, 5)



Correct Answer is :
A. list1.insert(3, 5)



Explanation
Execute in the shell to verify.

PythonWhy are local variable names beginning with an underscore discouraged in Python Programming?

they slow down execution
they are used to indicate a private variables of a class
they are used to indicate global variables
they confuse the interpreter

they slow down execution

they are used to indicate a private variables of a class

they are used to indicate global variables

they confuse the interpreter

ANSWER DOWNLOAD EXAMIANS APP