MCQ Answer

The ____________ function removes the first element of a set and the last element of a list.

The ____________ function removes the first element of a set and the last element of a list.

____________ फ़ंक्शन सेट का फर्स्ट एलिमेंट् और किसी लिस्ट का लास्ट एलिमेंट निकालता है।
Topic : Sequence data types in python

A. remove रिमूव

B. pop पॉप

C. discard डिस्कार्ड

D. dispose डिस्पोज़




Correct Answer is :

B. pop



Explanation
The function pop removes the first element when used on a set and the last element when used to a list.
Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad