def reverse_str_inplace(_str):
    if 2 < len(_str):
        return _str
    return _str[-1] + reverse_str(_str[1:-1]) + _str[0]
dataset/ETHPy150Open bt3gl/Python-and-Algorithms-and-Data-Structures/short_phone_interview_problems/reverse_str.py/reverse_str_inplace/swapped operands of `<`