Answer
hypotenuse = int(hypotenuse)
Work Step by Step
math.sqrt() always returns a floating-point number, even if the result is a whole number. That’s why the output appears as a float.
We can convert hypotenuse to integer by using int() function like
hypotenuse = int(hypotenuse)