def find_substr(s1, s2):

    if len(s2) < len(s1):
        bs = s2
        ss = s1
    else:
        bs = s1
        ss = s2

    ps = 0

    for c in bs:

        if ss[ps] == c:
            ps += 1
        else:
            ps = 0

        if ps == len(ss)-1:
            return True

    return False
dataset/ETHPy150Open bt3gl/Python-and-Algorithms-and-Data-Structures/src/builtin_structures/find_if_substr.py/find_substr/swapped operands of `<`