def Fibonacci():
n = int(input())
listaFib = [0, 1]
if n >= 3:
for i in range (n-2):
l = len(listaFib)
listaFib.append(listaFib[l-1] + listaFib[l-2])
print(listaFib[n-1])
return listaFib
def rappFib():
listaFib = Fibonacci()
l = len(listaFib)
phi = listaFib[l-1]/listaFib[l-2]
print(phi)
rappFib()
To embed this project on your website, copy the following code and paste it into your website's HTML: