Report Bug

QusThe ____________ function removes the first element of a set and the last element of a list. Qus____________ फ़ंक्शन सेट का फर्स्ट एलिमेंट् और किसी लिस्ट का लास्ट एलिमेंट निकालता है।


A. remove
B. pop
C. discard
D. dispose


Solution
B. pop



Explanation
The function pop removes the first element when used on a set and the last element when used to a list.
CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad