₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,328,948 members, 8,438,071 topics. Date: Thursday, 02 July 2026 at 08:54 PM

Toggle theme

Fortuneiyke's Posts

Nairaland ForumFortuneiyke's ProfileFortuneiyke's Posts

1 (of 1 pages)

Jobs/VacanciesRe: Andela: IT Training And Job by fortuneiyke: 5:20pm On Jan 10, 2016
Please i'm getting an error running script, who has any idea where the problem could be from?
Jobs/VacanciesRe: Andela: IT Training And Job by fortuneiyke: 5:37pm On Jan 08, 2016
I got that but what is wrong with this iterative_factorial(n)

def iterative_factorial(n):
factor = 1
if n == 0:
return factor
while n > 0:
factor *= n
n -= 1
return factor
Jobs/VacanciesRe: Andela: IT Training And Job by fortuneiyke: 1:07pm On Jan 08, 2016
someone please help, i'm a kinda stuck on this recursive lab. please how do i really use the iterative function

1 (of 1 pages)