MCQ Answer

What is the purpose of the in operator in Python?

What is the purpose of the in operator in Python?

पायथन में इन ऑपरेटर का उद्देश्य क्या है?
Topic : Introduction to Python

A. Checks if an element exists within a sequence. चेक करता है कि कोई एलिमेंट्स किसी सीक्वेंस में मौजूद है या नहीं।

B. Checks for inequality between two variables. दो वैरिएबल्स के बीच इनक्वॉलिटी को चेक करता है।

C. Checks if two variables refer to the same object. चेक करता है कि क्या दो वैरिएबल्स एक ही ऑब्जेक्ट् को रेफर करते हैं।

D. Checks the length of a sequence. किसी सीक्वेंस की लेंथ को चेक करता है




Correct Answer is :

A. Checks if an element exists within a sequence.



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