André wrote: > Christian Tismer wrote: >>It seems to be very hard to improve. No idea if this is >>possible: One might try to re-order the character string >>a bit to change moduli, trying to get one more number in >> >>(3,14,10) >> >>to be one-digit. Haven't tried, yet, and chances are small. >> >>congrats again and a happy new year - chris > > > With the string of " _|" I used, starting sub-indices for each > 3-character substrings are such that one need modulo 10 (or greater) > for at least two of the three indices. I have looked at a few other > combinations and, after thinking about it, have convinced myself that > it is unfortunately not possible to do. I would love to be proven > wrong! Good idea though!
I don't know if this suggestion has been made already, but it seems to me that the end of the expression ... for u in(3,14,10)) can be written as: ... for u in 3,14,10) which would shave off a character. Tuples don't always need parentheses... -- Hans Nowak http://zephyrfalcon.org/ -- http://mail.python.org/mailman/listinfo/python-list