def directLoop(isWiddershins, loop):
 if (euclidean.isWiddershins(loop) != isWiddershins):
  loop.reverse()

def directLoop ( isWiddershins , loop ) : if ( euclidean . isWiddershins ( loop ) != isWiddershins ) : loop . reverse ( )
direct the loop .