please i need explanation

kwakukwatiah at gmail.com kwakukwatiah at gmail.com
Fri Jan 11 16:35:10 CET 2013


def factorial(n):
    if n<2:
             return 1
    f = 1
    while n>= 2:
        f *= n
        f -= 1
    return f
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130111/3adbdbff/attachment.html>


More information about the Python-list mailing list