Factorial returning None


#1

When I print from my factorial i get the correct answer, but when I return, it returns None, why is that?


#2

Sounds like you're mixing up the terms return and print.
If you are returning the result, then perhaps you would like to call the function and print the resulting value.


#3

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