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

     ntx = self.copy()
     newstrand = '+'
     if ntx.strand == '+': newstrand = '-'
     ntx._options = ntx._options._replace(direction=newstrand)
     return ntx