Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python Program to Find sum Factorial of Number Using Recursion

n=0
def sum(n):
    if n==0 or n==1:
        return 1
    else:
        return n + sum(n-1)
c = sum(4)
print(c)
 
PREVIOUS NEXT
Tagged: #Python #Program #Find #sum #Factorial #Number #Using #Recursion
ADD COMMENT
Topic
Name
7+9 =