pendlepants solution

This commit is contained in:
Stephen McQuay 2012-09-08 10:19:32 -06:00
parent cf17dc32c9
commit 682b2825da
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,9 @@
import sys
from itertools import product
options = []
for line in sys.stdin:
options.append(line.strip().split())
for i in product(*options):
print ' '.join(i)

3
pendlepants/stdin1.txt Normal file
View File

@ -0,0 +1,3 @@
pendlepants turqoise
prison-stripe mesh
waldo horn-rim