K
kwakukwatiah
def factorial(n):
if n<2:
return 1
f = 1
while n>= 2:
f *= n
f -= 1
return f
if n<2:
return 1
f = 1
while n>= 2:
f *= n
f -= 1
return f
def factorial(n):
if n<2:
return 1
f = 1
while n>= 2:
f *= n
f -= 1
return f
Right, another html junkie, on windoze, no doubt.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.