Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
try:
    E.solve_left(T)
    A=E.solve_left(T)
except:
    A=E.solve_left(p*T)

You need to handle an exception (this is Python feature inherited in Sage):

try:
    E.solve_left(T)
    A=E.solve_left(T)
except:
    A=E.solve_left(p*T)

You need to handle an exception (this is Python feature inherited in Sage):

try:
    E.solve_left(T)
    A=E.solve_left(T)
except:
    A=E.solve_left(p*T)