The math.cosh() function returns the hyperbolic cosine of a number.  

Syntax:
math.cosh(x)
copy

Where,  is the numeric value whose hyperbolic cosine we want.

ExampleEdit & Run
import math

print (math.cosh(7))
print (math.cosh(5))
print (math.cosh(2.5))
print (math.cosh(1))
copy
Output:
548.317035155212 74.20994852478785 6.132289479663686 1.5430806348152437 [Finished in 0.010716074146330357s]