In [ ]:
import sympy as sp
In [ ]:
x = sp.symbols("x")
integ = sp.Integral(sp.sqrt(1/x), x)
In [ ]:
sp.pprint(integ, use_unicode=False)
In [ ]:
sp.pprint(integ, use_unicode=True)
In [ ]:
print(sp.latex(integ))
In [ ]:
sp.printing.mathml(integ)