def translateOperator(s):
    dictionary = {'^': '**'}
    if dictionary in s:
        return dictionary[s]
    return s
dataset/ETHPy150Open sympy/sympy/sympy/parsing/mathematica.py/translateOperator/swapped operands of `in`