Posts by RGM • 1 point
1 post
-
-1
votes6
answers4819
viewsA: Fibonacci-Python
I believe that way I can help you: n =int( input(" Digite um teto para a sequência de Fibonacci :")) t1 = 1 t2 = 0 t3 = 0 t4 = [] while t1 <= n: t4.append(t1) t3 = t1 + t2 t2 = t1 t1 = t3…