Run »
# Import cmath Library import cmath #Return the tangent of a complex number print (cmath.tan(2 + 3j))
(-0.003764025641504249+1.00323862735361j)