how to use identity operator in python