Stargaming wrote: > On Tue, 24 Jul 2007 03:19:53 -0700, bearophileHUGS wrote: >> While in a syntax like: >> for i in xrange(1_000_000): >> my eyes help me group them at once. > > Sounds like a good thing to be but the arbitrary positioning > doesnt make any sense.
Checking underscore positions would only add complexity. Why not just ignore them, no matter where they are? > Additionally, I'd suggest 10**n in such cases (eg. 10**6). This fails if you happen to have more than only zeros at the right side. Regards, Björn -- BOFH excuse #97: Small animal kamikaze attack on power supplies -- http://mail.python.org/mailman/listinfo/python-list