这个条件很容易忽略:ll[0] == ll [1] or ll[1] == ll[2]
while True: try: ll = list(map(int, input().split())) ll.sort() if ll[0] + ll [1] <= ll[2]: print('Not a triangle!') elif ll[0] == ll [1] or ll[1] == ll[2]: if ll[0] == ll[2]: print('Equilateral triangle!') else: print('Isosceles triangle!') else: print('Ordinary triangle!') except EOFError: break