Daily Challenge (246 Part Series)
Your strict math teacher is teaching you about right triangles and the Pythagorean Theorem -->
a^2 + b^2 = c^2 whereas a and b are the legs of the right triangle and c is the hypotenuse of the right triangle.
On the test, however, the question asks:
What are the possible integer lengths for the other side of the triangle?. Since you never learned anything about that in class, you realize she meant
What are the possible integer lengths for the other side of the right triangle?.
Because you want to address the fact that she asked the wrong question and the fact that you're smart at math, you've decided to answer all the possible values for the third side EXCLUDING the possibilities for a right triangle in increasing order.
Return your answer as a list of all the possible third side lengths of the triangle without right triangles in increasing order.
side_len(1, 1) -->  side_len(3, 4) --> [2, 3, 4, 6] side_len(4, 6) -->[3, 4, 5, 6, 7, 8, 9]
Want to propose a challenge idea for a future post? Email firstname.lastname@example.org with your suggestions!
Level up every day