[Tutor] class function problem

Steven D'Aprano steve at pearwood.info
Wed Sep 22 23:52:40 CEST 2010


On Thu, 23 Sep 2010 05:55:36 am Steven D'Aprano wrote:

> You will find the divmod() function useful. divmod(a, b) returns
> two numbers:
>
> a/b as a whole number, any remainder left only

Arggh! Of course I meant any reminder left OVER.


-- 
Steven D'Aprano 


More information about the Tutor mailing list