def reversal(move):
    if type(move) == tuple:
        move = move[0]
    if type(move) == str:
        if move in "'":
            move = move[0]
        else:
            move = move + "'"
    return move
dataset/ETHPy150Open bluquar/cubr/cube.py/reversal/swapped operands of `in`