Edit the Python program given below, so that it computes the factorial of the given number n.
def factorial(n):	
    # TODO
def factorial(n):	
    if n == 0:
        return 1
    else:
        return n * factorial(n-1)