<reponame>jrg-sln/academy<filename>EDyA_I/theme_2/code/fibonacci/fibonacciRecursivo.py
# -*- coding: utf-8 -*-


def fibonacci(ene):
    if (ene == 0):
        return 0
    if (ene == 1):
        return 1
    return fibonacci(ene - 1) + fibonacci(ene - 2)


print('fibonacci(35) = ' + str(fibonacci(35)))

# -*- coding: utf-8 -*-


def fibonacci(ene):
    if (ene == 0):
        return 0
    if (ene == 1):
        return 1
    return fibonacci(ene - 1) + fibonacci(ene - 2)


print('fibonacci(35) = ' + str(fibonacci(35)))
# -*- coding: utf-8 -*-