def __ne__(self, other):
    'Returns true if both objects are not equal'
    return (not (self == other))
Returns true if both objects are not equal
def __ne__(self, other):
    
    return (not (self == other))