[Edu-sig] re: More spillover re the division PEP

David Scherer dscherer@vysics.com
Sun, 29 Jul 2001 12:16:26 -0400


> Ask a grade-school student who is at the point where she can 
> divide integers, but hasn't learned about fractions or 
> decimals, "What's 10 divided by 3?"  She will answer, "3".  

Grade school students learn long division, which is divmod() in Python -
it returns a dividend and a remainder.  So she will answer (3,1) ;)

Dave