import itertoolss = list(itertools.product(('0','1','*'), repeat=8))print len(s)
Standard input is empty
6561
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!