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

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

minpoly(zoo)

Experiment with SymPy at SymPy Live.