Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Playing with Strings and Colors in Python. Parent comment
(3.2)
from itertools import cycle for colour, character in zip(cycle(colours), string): print(termcolor.colored(character, colour))
from itertools import cycle, izip for colour, character in izip(cycle(colours, string): print termcolor.colored(character, colour)
(3.2)
(2.7)