On 2005-12-21, Antoon Pardon <[EMAIL PROTECTED]> wrote: >> 15 is not a digit. 1 is a digit. 5 is a digit. Putting them together to >> make 15 is not a digit. > > So? the isdigit method tests whether all characters are digits. > >>>> '15'.isdigit() > True
But that is "obviously" wrong, since '15' is not a digit. -- Grant Edwards grante Yow! I'm in LOVE with at DON KNOTTS!! visi.com -- http://mail.python.org/mailman/listinfo/python-list