Re: Iteration for Factorials



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.
.