The cmath.cosh() function returns the hyperbolic cosine of  the given complex number. The input value can be real or complex but the returned value will always be complex.

Syntax:
cmath.cosh(x)
x The angle in radians(real or complex) whose hyperbolic cosine we want.
Parameters:

 The function returns a complex number representing the hyperbolic cosine of the input radian angle.

ExampleEdit & Run
import cmath 

print(cmath.cosh(-2.5))
print(cmath.cosh(0.36))
print(cmath.cosh(1 +2j ))
print(cmath.cosh(2+0.5j))
Output:
(6.132289479663686-0j)(1.0655028703156857+0j)(-0.64214812471552+1.0686074213827783j)(3.3016373329140944+1.7388095044743164j)[Finished in 0.010614529950544238s]