Dividing the fibbanocci number by 1 (range 10)in python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Dividing the fibbanocci number by 1 (range 10)in python

Explain with code

25th Jul 2019, 6:24 AM
Thippeswamy D M
Thippeswamy D M - avatar
2 Answers
+ 1
#You can use for loop: a = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55] print("Original list:", a) x = 2 for i in range(len(a)): a[i] /= x print("New list:", a)
25th Jul 2019, 9:01 AM
Seb TheS
Seb TheS - avatar
0
How we can divide the fibbanocci numbers in python
25th Jul 2019, 6:53 AM
Thippeswamy D M
Thippeswamy D M - avatar