<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def flipped(self):
 """Return the flipped version of this direction."""

        forward, reverse = self.value
        return self.__class__((reverse, forward))