def find(function, iterable):
for x in iterable:<EOL><INDENT>if function(x) is True:<EOL><INDENT>return x<EOL><DEDENT><DEDENT>
Returns the first item in the list for which function(item) is True, None otherwise.