Skip to content

Instantly share code, notes, and snippets.

@puneetraipuria
Created October 12, 2014 02:44
Show Gist options
  • Save puneetraipuria/841e99b6902b5d1f6d8e to your computer and use it in GitHub Desktop.
Save puneetraipuria/841e99b6902b5d1f6d8e to your computer and use it in GitHub Desktop.
factorial#ccoderbyte
def Factorial(num):
if num == 0:
return 1
else:
return num * Factorial(num-1)
print Factorial(int(input()))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment