I want to use the expression enter by the user and form the Tree,
so I did TreeForm[test] as the picture show but it's not working.
But if I do it manually, it works.
Can anyone explain to me why this happens and how can I fix it?
Mathematica Stack Exchange is a question and answer site for users of Wolfram Mathematica. It only takes a minute to sign up.
Sign up to join this community
TreeForm[ToExpression @ test]
? $\endgroup$