Examveda
Examveda

What does the 'not in' operator do in Python?

A. Checks if two values are equal

B. Checks if a value is greater than another

C. Checks if a value is not in a sequence

D. Checks if a value is in a sequence

Answer: Option C

Solution(By Examveda Team)

The not in operator checks if a value is not present in a sequence.

This Question Belongs to Python Program >> Variable Names And Operators

Join The Discussion

Related Questions on Variable Names and Operators