def hard_equals(a, b):
    """Implements the '===' operator."""
    if type(a) != type(b):
        return False
    return a == b
def hard_equals(a, b):
    """Implements the '===' operator."""
    if type(a) != type(b):
        return False
    return a == b
def hard_equals ( a , b ) : if type ( a ) != type ( b ) : return False return a == b
Implements the '===' operator.
Implements the === operator .