Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on First Impressions of Python from a Java Developer. Parent comment
deck = ['%s%s' % (n, s) for s in 'HDCS' for n in '23456789XJQKA']
Also, you can easily shuffle the deck using the standard library.
import random random.shuffle(deck)
There are no comments on this comment yet.
Also, you can easily shuffle the deck using the standard library.