All mock tests are FREE till 31 December — register to save your progress
Unit 3 · Programming Concepts & Python HTET 2024 PGT Computer Science · 30 July 2025

In Python .......... operator is used to determine the element's presence or absence in list.

पायथन में .......... ऑपरेटर का उपयोग लिस्ट में एलीमेंट की उपस्थिति एवं अनुपस्थिति को निर्धारित करने के लिए किया जाता है।

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: B. in

Explanation

The membership operators 'in' and 'not in' test whether an element is in a sequence: 3 in [1, 2, 3] gives True.

मेंबरशिप ऑपरेटर 'in' (और 'not in') जाँचता है कि एलिमेंट अनुक्रम में है या नहीं: 3 in [1, 2, 3] → True।

More Programming Concepts & Python questions