I know this isnt that big of a problem,
but i cannot think of one reason why they would not allow numbers preceded with a 0 to have a number
higher then a 7 in them...
And it seems very inconsistant to me...


Is there a reason for this?

I *love* questions I can answer! Answer: because that's how you tell Python you're entering an octal number. (Parallel to 0x for hexadecimals.) So beware of 010, which isn't the number of fingers you presumably have, unless you don't count the thumbs.

Charles Hartman

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to