Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
n = 6
def recur_factorial(n):
if n == 1:
return n
else:
return n * recur_factorial(n-1)
print(recur_factorial(n))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment