New course! Every coder should learn Generative AI!
Try a free lesson- 3
Write a Fibonacci sequence up to 1000
Show sequence (0,1,1,2,3,5,...) with
9 Answers
+ 2
It uses while loop.... python is not super fast... if you increase the input, you will get "Execution time out"...
keep in mind, your input = no. of terms
+ 1
This is my question in python?, i coding this in php.
+ 1
U said only upto 1000
+ 1
I meant it did not bring me numbers above a thousand, but when I enter 1000 it goes higher
+ 1
Keep in mind, your input = number of terms not upto 1000
Enter "17" to get upto 1000
+ 1
Thank you
+ 1
آرین ایلیا most welcome bro 😊
0
Break 987 up in 1000 input