integrate (tan (x),(x,0,pi /2))
integrate(tan(x), (x, 0, pi/2))
Want a full Python shell? Use SymPy Live.