@value.setter
def value(self, value):
    if (value < 0):
        raise ValueError('The temperature cannot be negative.')
    self._value = value
@value.setter
def value(self, value):
    if (value < 0):
        raise ValueError('The temperature cannot be negative.')
    self._value = value