Answer break down "spoiler" 5/15 is_fact


def factorial(x):
f = 1
for i in range(1, x +1):
f *= i
return f

x = 34

with this I can pass the task but I cant print f or i. I think My code is wrong.


functions only executed when called


for i in diot:
print i[diot]
thanks I called the function correctly it worked


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.