• + 0 comments
    def factorial(n):
        # Write your code here
        if n==0 or n==1:
            return 1
        else:
            return n*factorial(n-1)