integrate (tan (x),(x,0,pi /2))

integrate(tan(x), (x, 0, pi/2))

minpoly(zoo)

Need more control? Try SymPy Live.