Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Unpythonic Python. Parent comment
If you make the generator always return a string, then you can make it print, thus:
print '\n'.join((not x % 3) * 'Fizz' + (not x % 5) * 'Buzz' or str(x) for x in range(1, 101))
There are no comments on this comment yet.
If you make the generator always return a string, then you can make it print, thus: