forked from devpro-br/lista-de-exercicios-python-brasil
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feita correção do exercício 16 da seção de repetição.
close devpro-br#33
- Loading branch information
1 parent
159218b
commit 4c0e332
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
secao_03_estrutura_de_repeticao/ex_16_fibonnacci_ate_valor_maior_que_500.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
""" | ||
Exercício 16 da seção de estrutura sequencial da Python Brasil: | ||
https://wiki.python.org.br/EstruturaDeRepeticao | ||
A série de Fibonacci é formada pela seqüência 0,1,1,2,3,5,8,13,21,34,55,... Faça um programa que gere a série até que o | ||
valor seja maior que 500. | ||
>>> calcular_serie_de_fibonacci_ate_valor_ser_maior_que_500() | ||
'0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610' | ||
""" | ||
|
||
|
||
def calcular_serie_de_fibonacci_ate_valor_ser_maior_que_500() -> str: | ||
"""Escreva aqui em baixo a sua solução""" |