Skip to content

Instantly share code, notes, and snippets.

@yuitest
Created September 7, 2014 07:34
Show Gist options
  • Save yuitest/6f738b6091f4fcf9585a to your computer and use it in GitHub Desktop.
Save yuitest/6f738b6091f4fcf9585a to your computer and use it in GitHub Desktop.
# -*- coding: utf-8 -*-
import itertools
cards = tuple('[[RESULT{}]]'.format(num) for num in xrange(2, 11))
for cards in itertools.combinations(cards, 5):
print(''.join(cards))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment