Programming and Problem Solving through Python : Sequence data types in python

लिस्ट 1 में 5 से थर्ड पोज़िशन पर इन्सर्ट करने के लिए, हम किस कमांड का यूज़ करते हैं? , 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?




Solution
B. list1.insert(2, 5)



Explanation
Execute in the shell to verify.
CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Exam Quiz Website development Company in Allahabad