Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

In your case you can use your own function:

def show_result(sol):
    L = [s.rhs() for s in sol[0] ]
    print ' %s < %s < %s ' %(min(L),sol[0][0].variables()[0],max(L) )

show_result(solve(x^2-4<0,x))