computer science class xi variables are referring to the same object or not there are two identity operators table identity operators in python operator is is not description example (try in labnum type(num is int true num num id(num id(num num is num true evaluates to false if the variables on num is not num either side of the operator point to the same false evaluates true if the variables on either side of the operator point towards the same memory location and false otherwise var is var results to true if id(var is equal to id(var memory location and true otherwise var is not var results to true if id(var is not equal to id(var membership operators membership operators are used to check if value is member of the given sequence or not table membership operators in python operator in description example (try in labreturns true if the variable/value is found in the [ , , in specified sequence and false otherwise true ' in false not in returns true if the variable/value is not found in [ , , not in the specified sequence and false otherwise true not in false expressions an expression is defined as combination of constantsvariablesand operators an expression always evaluates to value value or standalone variable is also considered as an expression but standalone operator is not an expression some examples of valid expressions are given below ( (iinum (iiinum - (iv ( / - ( - (vi"global"citizen