fork download
  1. f1 = 1
  2. f2 = 1
  3. i = 2
  4. while (len(str(f2)) < 1000):
  5. t = f1 + f2
  6. f1 = f2
  7. f2 = t
  8. i = i + 1
  9. print (i)
Success #stdin #stdout 1.12s 5852KB
stdin
Standard input is empty
stdout
4782