<reponame>csdeptku/Python-for-cpp-programmers
#Recursion
def factorial(n):
    if n <= 0:
        return 1
    return factorial(n-1)*n

print(factorial(10))
#Recursion
def factorial(n):
    if n <= 0:
        return 1
    return factorial(n-1)*n

print(factorial(10))
#Recursion