Here's some verbiage on math-teach giving some context for the just-posted source code:
http://mathforum.org/kb/message.jspa?messageID=7403815&tstart=0 There's a perennial thread on some math teaching groups as to whether multiplication should be conveyed as "repeated addition", which often seems the sensible approach, but always? In going to other meanings of multiplication, with a family resemblance to rational number multiplication (e.g. existence of inverse such that p * ~p = 1), we venture more into abstract algebra territory. This is where Python shines, as one of those language making operator overloading a snap. Write a class, define __mul__ to suit. Kirby On Thu, Mar 10, 2011 at 3:43 PM, Kirby Urner <kur...@oreillyschool.com> wrote: > """ > Source code for math-teach post > by Kirby Urner / OST > (c) GNU Public License, 2011 > """ _______________________________________________ Edu-sig mailing list Edu-sig@python.org http://mail.python.org/mailman/listinfo/edu-sig