Created
September 7, 2014 07:34
-
-
Save yuitest/6f738b6091f4fcf9585a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- 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