you are viewing a single comment's thread.  view the rest of the
comments →  [–]usernamenottaken 1 point2 points ago   Yes, you
say you don't just want the first value. But in your example,
you do just want the first value, as all integers greater than
1000 will evaluate as True so there is no need for that check.
I didn't skim it and I can see what first does, and what it does
isn't what its name implies, which would be confusing for anyone
who didn't take a close look at the code or documentation.