On Oct 22, 2:43 pm, Marco Mariani <[EMAIL PROTECTED]> wrote: > Py-Fun wrote: > > def itforfact(n): > > while n<100: > > print n > > n+1 > > n = input("Please enter a number below 100") > > You function should probably return something. After that, you can see > what happens with the result you get.
lambda n: n<=0 or reduce(lambda a,b: long(a)*long(b),xrange(1,n+1)) -- http://mail.python.org/mailman/listinfo/python-list