I have a .txt file that has the following text:
"np.sqrt(2)**2"
I can't get the answer to this mathematical equation because is a string, does anyone know how to convert that text to code (In python)? So when executing the script I will have the following output:
[In] np.sqrt(2)**2
[Out] 2