the list of numbers not divisible by Fibonacci number code in python ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

the list of numbers not divisible by Fibonacci number code in python ?

11th Feb 2021, 4:44 AM
Sachin Kumar Gupta
Sachin Kumar Gupta - avatar
3 Answers
+ 1
Where is your try ? If you are asking for code then there is lot of resources over internet. Go and search them 🙃
11th Feb 2021, 4:51 AM
Ayush Kumar
Ayush Kumar - avatar
0
I tried but didn't got any suitable code.
11th Feb 2021, 4:54 AM
Sachin Kumar Gupta
Sachin Kumar Gupta - avatar
0
Suppose we have a list of fibonacci no. in l = [] num = [x for x in range(len(l)) if x %l[i] !=0] but its giving error
11th Feb 2021, 5:01 AM
Sachin Kumar Gupta
Sachin Kumar Gupta - avatar