On Fri, Oct 30, 2009 at 6:46 AM, Shashwat Anand <anand.shash...@gmail.com>wrote:
> @Navin : Thanks > > in case #2: > "reduce(lcm2, mylist)" works fine > Depends upon what you want the behavior to be when mylist is empty. Sending in a start of '1' will give you '1' as the lcm of an empty list. Sending in nothing will result in an exception. navin. _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers