Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Python has brought computer programming to a vast new audience. Parent comment
In Python 3, it raises a NameError, because the x in "print(x)" is not defined. It's contained in the list comprehension.
But I don't know a good use of the Python 2 behavior.
There are no comments on this comment yet.
In Python 3, it raises a NameError, because the x in "print(x)" is not defined. It's contained in the list comprehension.
But I don't know a good use of the Python 2 behavior.