Skip to main content
Saved 13 bytes :D
Source Link
ATaco
  • 11.2k
  • 28
  • 78

ARBLE, 7373 60 bytes

"The hypotenuse of this right triangle is ".%.floor(sqrt3f"%(a^2+b^2)*1e3)/1e3^.5

Try it online!Try it online!

ARBLE, 73 bytes

"The hypotenuse of this right triangle is "..floor(sqrt(a^2+b^2)*1e3)/1e3

Try it online!

ARBLE, 73 60 bytes

"The hypotenuse of this right triangle is %.3f"%(a^2+b^2)^.5

Try it online!

added 30 characters in body
Source Link
ATaco
  • 11.2k
  • 28
  • 78

ARBLE, 5873 bytes

"The hypotenuse of this right triangle is "..floor(sqrt(a^2+b^2)*1e3)/1e3

Try it online!Try it online!

ARBLE, 58 bytes

"The hypotenuse of this right triangle is "..sqrt(a^2+b^2)

Try it online!

ARBLE, 73 bytes

"The hypotenuse of this right triangle is "..floor(sqrt(a^2+b^2)*1e3)/1e3

Try it online!

added 14 characters in body
Source Link
ATaco
  • 11.2k
  • 28
  • 78

ARBLE, 5258 bytes

"The hypotenuse of this right triangle is "..sqrt(a^2+b^2)

Try it online!Try it online!

ARBLE, 52 bytes

"The hypotenuse of this right triangle is "..a^2+b^2

Try it online!

ARBLE, 58 bytes

"The hypotenuse of this right triangle is "..sqrt(a^2+b^2)

Try it online!

Source Link
ATaco
  • 11.2k
  • 28
  • 78
Loading