def Fibonacci(n):
    """
    Finds the nth term in the Fibonacci Sequence by adding the two
    previous terms.
    :param n: index of value
    :type n: int
    :return: the nth term i the Fibonacci Sequence
    :rtype: int
    """
    if type(n) is not int:
        raise TypeError('n must be type int')
    if n < 0:
        raise ValueError('n must be positive')

    if n == 0:
        return 0
    elif n == 1:
        return 1

    return Fibonacci(n-1) + Fibonacci(n-2)