Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Peter Norvig's “pytudes” for Advent of Code 2020. Parent comment
But he defines it above in his commonly used functions:
def first(iterable, default=None) -> object: "Return first item in iterable, or default." return next(iter(iterable), default)
But he defines it above in his commonly used functions: