백준 - 파이썬/단계별 - 10 (기하: 직사각형과 삼각형)
[백준/파이썬] 10101번 삼각형 외우기
miiinn
2025. 5. 16. 17:50
# 삼각형 외우기
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')