File size: 80 Bytes
9303dd0
 
 
 
1
2
3
4
5
def factorial(n):
    if n == 0:
        return 1
    return n * factorial(n-1)