- 3

Write a Fibonacci sequence up to 1000

Show sequence (0,1,1,2,3,5,...) with

25th Feb 2021, 9:47 AM
‎آرین ایلیا
‎آرین ایلیا - avatar
9 Respostas
25th Feb 2021, 11:05 AM
Harsh Jaiswal
Harsh Jaiswal - avatar
+ 3
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
25th Feb 2021, 11:32 AM
Harsh Jaiswal
Harsh Jaiswal - avatar
+ 2
U said only upto 1000
25th Feb 2021, 11:30 AM
Harsh Jaiswal
Harsh Jaiswal - avatar
+ 2
Keep in mind, your input = number of terms not upto 1000 Enter "17" to get upto 1000
25th Feb 2021, 11:39 AM
Harsh Jaiswal
Harsh Jaiswal - avatar
+ 2
‎آرین ایلیا most welcome bro 😊
25th Feb 2021, 12:32 PM
Harsh Jaiswal
Harsh Jaiswal - avatar
+ 1
This is my question in python?, i coding this in php.
25th Feb 2021, 9:54 AM
‎آرین ایلیا
‎آرین ایلیا - avatar
+ 1
I meant it did not bring me numbers above a thousand, but when I enter 1000 it goes higher
25th Feb 2021, 11:37 AM
‎آرین ایلیا
‎آرین ایلیا - avatar
+ 1
Thank you
25th Feb 2021, 12:09 PM
‎آرین ایلیا
‎آرین ایلیا - avatar
0
Break 987 up in 1000 input
25th Feb 2021, 11:27 AM
‎آرین ایلیا
‎آرین ایلیا - avatar