fork download
  1. import itertools
  2. s = list(itertools.product(('0','1','*'), repeat=8))
  3. print len(s)
Success #stdin #stdout 0.01s 6408KB
stdin
Standard input is empty
stdout
6561