On Feb 25, 11:25 am, [EMAIL PROTECTED] wrote: > This is the first time I write something that looks like a little > rant :-) Surely I'll be wrong in many points, but I presume this isn't > going to damage people, so...
Agreed on all points. :-) This looks a lot like someone trying to write Haskell in Python. And that's a truly horrible way of finding a least common multiple: much better to do lcm(a, b) = a*(b//gcd(a, b)), with gcd computed using the usual algorithm (written *iteratively*, not recursively). Mark -- http://mail.python.org/mailman/listinfo/python-list