Created
March 4, 2018 07:00
-
-
Save antlauzon/bcd431ef44954da011599c43ec84974a to your computer and use it in GitHub Desktop.
one can be sure that if there is anything true regarding existence of truth, it can be found here
This file contains 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
# rumsfeld.py | |
# for the fbi | |
import itertools | |
import sys | |
intel = ['known', 'unknown'] | |
detail = int(sys.argv[1]) if len(sys.argv) > 1 else 7 | |
rumsfeldian = itertools.product | |
s = lambda k: print(' '.join([j for i in k for j in i])) | |
truth = [s([i for i in rumsfeldian(intel, repeat=e)]) for e in range(2, detail)] | |
truth | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment