Re: Iteration for Factorials
- From: Marco Mariani <marco@xxxxxxxxxxxxxx>
- Date: Mon, 22 Oct 2007 14:43:01 +0200
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.
.
- Follow-Ups:
- Re: Iteration for Factorials
- From: vimal
- Re: Iteration for Factorials
- From: cokofreedom
- Re: Iteration for Factorials
- From: Py-Fun
- Re: Iteration for Factorials
- References:
- Iteration for Factorials
- From: Py-Fun
- Re: Iteration for Factorials
- From: Diez B. Roggisch
- Re: Iteration for Factorials
- From: Py-Fun
- Iteration for Factorials
- Prev by Date: Re: Iteration for Factorials
- Next by Date: Re: Iteration for Factorials
- Previous by thread: Re: Iteration for Factorials
- Next by thread: Re: Iteration for Factorials
- Index(es):