Shortest method to implement the Pythagorean Theorem Who doesn't love the Pythagorean theorem \$a^2+b^2=c^2\$? Write the shortest method you can in any language that takes in value a and b and prints out The hypotenuse of this right triangle is c.  Keep c to only three decimal places.
APL (54)

'The hypotenuse of this right triangle is',3⍕.5*⍨+/⎕*2


Test:

      'The hypotenuse of this right triangle is',3⍕.5*⍨+/⎕*2
⎕:
      9 10
The hypotenuse of this right triangle is 13.454


Explanation:


⎕*2: raise the values in the input to the second power
+/: take the sum
.5*⍨: raise the result to the 0.5th power
3⍕: round to 3 decimal places