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

        # max 100
        volume = int(volume)
        self._volume = max(0, min(volume, 100))