From b98026c2cbd316f887b4f538b437a79ab84a3a71 Mon Sep 17 00:00:00 2001 From: Kaliroi Mignone Date: Wed, 13 Dec 2023 19:40:40 +0100 Subject: [PATCH] fix(logic): solved BUG051 --- source/BUG/logic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/BUG/logic.py b/source/BUG/logic.py index f3b3891..0a0d2c5 100644 --- a/source/BUG/logic.py +++ b/source/BUG/logic.py @@ -82,7 +82,7 @@ def is_valid_triangle(side1: int, side2: int, side3: int) -> bool: """ BUG051: is_valid_triangle should return True if the sides form a valid triangle, not if they don't. """ - result = side1 + side2 <= side3 + result = side1 + side2 >= side3 return result