Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (8 sloc) 163 Bytes
#!/usr/bin/env python
# _*_ coding: utf-8
def factorial(n):
if n == 0:
return 1
else:
return n * factorial(n - 1)
print factorial(5)