H.py 181 B

12345678
  1. a, b, c = sorted(list(map(int, input().strip().split())))
  2. if a + b > c:
  3. if a*a + b*b == c*c:
  4. print("yes")
  5. else:
  6. print("no")
  7. else:
  8. print("not a triangle")