From df9f07c8f3a750e10093ab2ebfcf07a455a3a963 Mon Sep 17 00:00:00 2001 From: Rishab <125953536+rishabkgautam@users.noreply.github.com> Date: Sat, 12 Sep 2026 17:07:00 +0530 Subject: [PATCH] Update triangle validity condition in instructions Clarified the condition for triangle validity by specifying that the sum of the lengths of any two sides must be strictly greater than the length of the third side. --- exercises/practice/triangle/.docs/instructions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/practice/triangle/.docs/instructions.md b/exercises/practice/triangle/.docs/instructions.md index e9b053dcd34..4266e3ae9b1 100644 --- a/exercises/practice/triangle/.docs/instructions.md +++ b/exercises/practice/triangle/.docs/instructions.md @@ -11,7 +11,7 @@ A _scalene_ triangle has all sides of different lengths. ## Note -For a shape to be a triangle at all, all sides have to be of length > 0, and the sum of the lengths of any two sides must be greater than or equal to the length of the third side. +For a shape to be a triangle at all, all sides have to be of length > 0, and the sum of the lengths of any two sides must be strictly greater than the length of the third side. ~~~~exercism/note _Degenerate triangles_ are triangles where the sum of the length of two sides is **equal** to the length of the third side, e.g. `1, 1, 2`.