"""
This exercise can be found at
http://www.w3resource.com/python-exercises/data-structures-and-algorithms/python-recursion.php
"""


def get_factorial(number):
    """
    Get the factorial of a non-negative number
    """
    if number == 1:
        return 1
    else:
        return number * get_factorial(number - 1)


if __name__ == '__main__':
    print(get_factorial(5))
a0d349d1a593aa03ab36f32fecb0baeaab3c51dd
<mask token>

<mask token>


def get_factorial(number):
    """
    Get the factorial of a non-negative number
    """
    if number == 1:
        return 1
    else:
        return number * get_factorial(number - 1)


<mask token>

<mask token>


def get_factorial(number):
    """
    Get the factorial of a non-negative number
    """
    if number == 1:
        return 1
    else:
        return number * get_factorial(number - 1)


if __name__ == '__main__':
    print(get_factorial(5))

"""
This exercise can be found at
http://www.w3resource.com/python-exercises/data-structures-and-algorithms/python-recursion.php
"""


def get_factorial(number):
    """
    Get the factorial of a non-negative number
    """
    if number == 1:
        return 1
    else:
        return number * get_factorial(number - 1)


if __name__ == '__main__':
    print(get_factorial(5))