Created
March 16, 2025 19:25
-
-
Save devrsantos/a2ca4f4c1acf5851b3e7468d9188fc42 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
limite = int(input("Digite o limite da sequência de Fibonacci: ")) | |
a, b = 0, 1 | |
while a <= limite: | |
print(a, end=" ") | |
a, b = b, a + b |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment