题解 | #三角形判断#
三角形判断
https://www.nowcoder.com/practice/689ec1e742394e09b1059556fc167b65
while True: try: a,b,c=map(int,input().split()) if a+b<=c or a+c<=b or b+c<=a: print("Not a triangle!") elif a==b==c: print("Equilateral triangle!") elif a==b or a==c or b==c: print("Isosceles triangle!") else: print("Ordinary triangle!") except: break