Challenge (0) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

Challenge (0)

Make a program which can find next 21 fabonnaci sequence numbers of the input number.

1st Jun 2017, 8:27 AM
Ekansh
10 Answers
+ 8
https://code.sololearn.com/c3HVWjC8E5tI/?ref=app Based on the question, the input must be a Fibonacci number as well.
1st Jun 2017, 8:59 AM
Pixie
Pixie - avatar
+ 6
This is vague. What happens if the input is not a fibonacci number?
1st Jun 2017, 8:50 AM
Pixie
Pixie - avatar
+ 4
Wrong code next 21 of input number sorry I forget to mention that.
1st Jun 2017, 8:42 AM
Ekansh
+ 4
@Tim. It's supposed to be next 21. I dont think you are supposed to display entered number
1st Jun 2017, 9:02 AM
Pixie
Pixie - avatar
+ 3
Is this right? First time i used fibonnaci sequence. .-. https://code.sololearn.com/Wj4v3xH78yRW/?ref=app
1st Jun 2017, 8:39 AM
Tim G
Tim G - avatar
+ 3
@Tim your code is not working
1st Jun 2017, 8:42 AM
Ekansh
+ 3
@Pixie That's not that big of a deal I guess. I had to change only one number. Thanks anyways.
1st Jun 2017, 9:06 AM
Tim G
Tim G - avatar
+ 2
@Ekansh, For me it works. What error do you get?
1st Jun 2017, 8:43 AM
Tim G
Tim G - avatar
+ 2
@Serena. Thanks
1st Jun 2017, 8:46 AM
Tim G
Tim G - avatar
+ 2
I changed my code. Check it out
1st Jun 2017, 8:58 AM
Tim G
Tim G - avatar