def fibo(k): # Initialisation de la liste L = [1, 1] for compteur in range (2 , k) : n = L[compteur - 2] + L[compteur - 1] L.append(n) return L