python check if two var are the same type code example Example: python is The is keyword is used to test if two objects refer to the same object.