venture of iit bombay vjti alumni used to reverse the logical state of its operand python membership operators python' membership operators test for membership in sequencesuch as stringslistsor tuples there are two membership operators as explained below operator description example in evaluates to true if it finds variable in the in yspecified sequence and false otherwise here in results in if is member of sequence not in evaluates to true if it does not finds variable in not in yhere