Posts by Sergio • 9 points
1 post
-
0
votes6
answers4819
viewsA: Fibonacci-Python
n = int(input('A sequência de Fibonacci de: ')) a, b = 0, 1 while a < n: print(a, end=',') a, b = b, a+b print('FIM')
1 post
0
votes6
answers4819
viewsn = int(input('A sequência de Fibonacci de: ')) a, b = 0, 1 while a < n: print(a, end=',') a, b = b, a+b print('FIM')