The Pythagorean theorem is one of the most famous formulas in math:
$a^2 + b^2 = c^2$
Where a and b are the two shorter sides of a right triangle, and c is the longest side (hypotenuse).
To find c, we can take the square root. In Python, the square root is the same as raising to the power of 0.5:
c = (a ** 2 + b ** 2) ** 0.5
Run your code
5.0