Oct-27-2021, 07:25 PM
(This post was last modified: Oct-27-2021, 07:45 PM by bouraque7878.)
It doesn't work. What's wrong?
1 2 3 4 5 6 7 8 9 10 11 |
list1 = [ 1 , 1 ] i = 2 while True : terim = list1[i - 1 ] + list1[i - 2 ] list1.append(terim) terim = str (terim) for x in terim: if len (terim) = = 100 : break i + = 1 print (terim) |