
아래 백준 로고를 클릭하면 해당 문제로 이동합니다 😀
세 각을 입력받고, a==b==c==60인 경우를 확인하고, 그게 아닌데 세 각의 합이 180일때 두각만 같은 경우, 그렇지 않은 경우를 확인하고 그외는 다 에러로 처리하면 된다.
a = int(input())
b = int(input())
c = int(input())
if a == b == c == 60:
print('Equilateral')
elif a+b+c == 180:
if a==b or b==c or a==c:
print('Isosceles')
else:
print('Scalene')
else:
print('Error')
