[Tutor] The remainder %

Alan Gauld alan.gauld@blueyonder.co.uk
Tue Jun 3 18:03:02 2003


Hi Bob,

> OOPS I did not do my homework. So it turns
> out that Python % and divmod DO modulo, and
> the documentation is in error when it says
> "remainder". 

>From the "you're never too old to learn" school
I have to say that despite studying math for a 
total of 21 years of formal education I had not 
realized there was a difference till you pointed 
it out!

I stand enlightened... :-)

Alan G
Author of the Learn to Program web tutor
http://www.freenetpages.co.uk/hp/alan.gauld