what is difference between is and == in python code example Example: python is The is keyword is used to test if two objects refer to the same object.