CBSE Class 11 Informatics Practices
Question 26 of 80
Lists in Python — Question 4
Back to all questionsBoth 1 & 2
Reason — The operators in and not in can both be used with lists in Python. The in operator checks if an element is present in the list, while the not in operator checks if an element is not present in the list.