# Revision history [back]

### use output of solve() without 'var == '

Is there a way to use the values of solve() without having that pesky 'var == ' in front of it?

in   h = x^2-9; h
out     x |--> x^2 - 9
in   sols = solve(h == 0, x); sols
out     [x == -3, x == 3]
in   sols[0]
out     x == -3
in   h(sols[0])
out     (x == -3)^2 - 9


What the heck is that last line?!

Is there a way to extract the value of sols[0] for use without needing to copy/paste the value?