📜  例如:python arraay - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:13.030000             🧑  作者: Mango

代码示例1
def search3(L, e):
    if len(L) == 0:
        return False
    elif L[0] == e:
        return True
    elif L[0] > e:
        return False
    else:
        return search3(L[1:], e)