Skip to content

Commit 38cf1fc

Browse files
committed
Amend Pythagorean Triples
1 parent 55bc443 commit 38cf1fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

PythagoreanTriplesChecker.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# Return whether the triangle is a Pythagorean Triple or not.
55
# Loop the program so the user can use it more than once without having to restart the program.
66
# TODO: Find a more elegant solution and optimise
7+
# Add check to determine whether input values actually form a triangle (A+B>C)
78

89

910
import math

0 commit comments

Comments
 (0)