def f(x): y=x**2-3 return y x=2 y=f(x) while y<3: x=x+0.1 y=f(x) print(x)