<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def temperature(self, what):
 """Set temperature."""

        self._temperature = units.validate_quantity(what, u.K)