a,b = 3,2count=0for i in range(1000): if len(str(a)) > len(str(b)): count+=1 a,b=a+b+b,a+bprint(count)
Standard input is empty
153
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!