Skip to content

Instantly share code, notes, and snippets.

@ahmedazizkhelifi
Created July 24, 2020 13:59
Show Gist options
  • Save ahmedazizkhelifi/015058be4d87ae8883558f20d22134ee to your computer and use it in GitHub Desktop.
Save ahmedazizkhelifi/015058be4d87ae8883558f20d22134ee to your computer and use it in GitHub Desktop.
def recursive_factorial(n):
if n <= 1:
return 1
else:
return n*recursive_factorial(n-1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment