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
- In Python, .......... is the type of sequence that resembles a list, except that, unlike a list, it is immutable.
- .......... is a set of rules for carrying out some calculation either by hand or by machine.
- Which procedure is characterized by the fact that the procedure calls itself again and again till the base condition is met?
- If a class contains at least one pure virtual function, it is called as ............. class.
- Tuples in Python are :
- In python elements of the list are written inside :