Py-Fun wrote:
> I'm stuck trying to write a function that generates a factorial of a
> number using iteration and not recursion.  Any simple ideas would be
> appreciated.
> 

fact = lambda n : len(map([1].__imul__,range(1,n+1))[0])

hth :)

BB
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to