Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Key differences between Python 2.7.x and Python 3.x (2014). Parent comment
In [2]: sorted(breakfast)
Out[2]: ['bacon', 'eggs']
Done. One and only one obvious way to return a sorted list of keys of a dict.
There are no comments on this comment yet.
In [2]: sorted(breakfast)
Out[2]: ['bacon', 'eggs']
Done. One and only one obvious way to return a sorted list of keys of a dict.