My solutions for the 2012 mebipenny
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
170 B

import sys
from itertools import product
options = []
for line in sys.stdin:
for i in product(*options):
print ' '.join(i)