mouredev/Weekly-Challenge-2022-Kotlin

Solución reto #3 en Python

Opened this issue · 0 comments

serie = [0, 1]

suma = 0
n = 50

while serie[-1] < n:

suma = serie[-1] + serie[-2]
serie.append(suma)

print(serie)