f1 = 1f2 = 1i = 2while (len(str(f2)) < 1000): t = f1 + f2 f1 = f2 f2 = t i = i + 1print (i)
Standard input is empty
4782
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!