Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Python: Uncovering the Overlooked Core Functionalities.
first, _, last = [1, 2, 3, 4, 5]
first, *_, last = [1, 2, 3, 4, 5]
Other than that, nice list of python tricks, I love not-so-known features because it can make code shorter and prettier!
Other than that, nice list of python tricks, I love not-so-known features because it can make code shorter and prettier!