Reputation: 165
sympify('atan(sqrt(3))') returns pi/3. Same thing for sympify with the evaluate = false tag.
Is it possible to convert the 'atan(sqrt(3))' string to the atan(sqrt(3)) sympy object ?
This is required for online math tests : if a question is 'what is atan(sqrt(3)) ?', the answer 'atan(sqrt(3))' is not acceptable, thus should be distinguishable from 'pi/3'.
Upvotes: 1
Views: 83