membership the membership operators detect the appearance of value within list or sequence and then output the truth value of that appearance think of the membership operators as you would search routine for database you enter value that you think should appear in the databaseand the search routine finds it for you or reports that the value doesn' exist in the database table - describes the membership operators table - python membership operators operator description example in determines whether the value in the left operand appears in the sequence found in the right operand "helloin "hello goodbyeis true not in determines whether the value in the left operand is missing from the sequence found in the right operand "hellonot in "hello goodbyeis false identity the identity operators determine whether value or expression is of certain class or type you use identity operators to ensure that you're actually working with the sort of information that you think you are using the identity operators can help you avoid errors in your application or determine the sort of processing value requires table - describes the identity operators table - python identity operators operator description example is evaluates to true when the type of the value or expression in the right operand points to the same type in the left operand type( is int is true is not evaluates to true when the type of the value or expression in the right operand points to differ ent type than the value or expression in the left operand type( is not int is false