test1 97 Bytes
Newer Older
Mestari Yousra's avatar
Mestari Yousra committed
1
2
3
4
5
6
def facto(n):
    if n==0:
        return 1
    if n==1:
        return 1
    return n*facto(n-1)