Hypotenuse
斜边
TP §6.2 Exercise 6-2. The point isn't the answer — it's practicing the rhythm.
Python · runnable
Pythagorean triples (the test inputs)
| a | b | hypotenuse |
|---|---|---|
| 3 | 4 | 5 |
| 5 | 12 | 13 |
| 8 | 15 | 17 |
斜边
TP §6.2 Exercise 6-2. The point isn't the answer — it's practicing the rhythm.
| a | b | hypotenuse |
|---|---|---|
| 3 | 4 | 5 |
| 5 | 12 | 13 |
| 8 | 15 | 17 |