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

        if len(value) != 3:
            raise Exception("Invalid instruction operands : %s" % str(value))

        self._operands = value