Robert Dailey wrote: > A small off topic question. Why use divmod() instead of the modulus > operator?
Because he needed both the quotient and the remainder. % only gives you the remainder. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco -- http://mail.python.org/mailman/listinfo/python-list