f=1 for n in range(100): f = 1 + 1/f print(f)