Browse Source

Add 'H.py'

webturing 4 years ago
parent
commit
85e598fd01
1 changed files with 8 additions and 0 deletions
  1. 8 0
      H.py

+ 8 - 0
H.py

@@ -0,0 +1,8 @@
+a, b, c = sorted(list(map(int, input().strip().split())))
+if a + b > c:
+    if a*a + b*b == c*c:
+        print("yes")
+    else:
+        print("no")
+else:
+    print("not a triangle")