x = symbols('x')
ch = 'exp(cos(cos(exp((sin(-0.06792841536110628))**(-6.045461643745118)))))'
f = lambdify(x, ch, "numpy")
print(float(f(2)))
It does not work, the programm is running and never ends(no error is issued). My goal is to avoid this kind of cases (among multiple cases) by doing a try/except but i can't as there is no error Why no error is released? How can i avoid these cases ?
Thanks for your helping me !