pendlepants solution
This commit is contained in:
parent
cf17dc32c9
commit
682b2825da
9
pendlepants/pendlepants.py
Normal file
9
pendlepants/pendlepants.py
Normal 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
3
pendlepants/stdin1.txt
Normal file
@ -0,0 +1,3 @@
|
||||
pendlepants turqoise
|
||||
prison-stripe mesh
|
||||
waldo horn-rim
|
Loading…
Reference in New Issue
Block a user