def find(iterable, pred=(lambda x: True), default=None):
    return next((x for x in iterable if pred(x)), default)
def find(iterable, pred=(lambda x: True), default=None):
    return next((x for x in iterable if pred(x)), default)