fork(11) download
  1. import itertools
  2. for x in map(''.join, itertools.product('01', repeat=4)):
  3. print x
Success #stdin #stdout 0.02s 4736KB
stdin
Standard input is empty
stdout
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111