Iteration for Factorials

Diez B. Roggisch deets at nospam.web.de
Mon Oct 22 08:28:05 EDT 2007


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.

Show us your attempts, and we might suggest a fix. Because otherwise this
sounds suspiciously like homework.

Diez



More information about the Python-list mailing list