https://www.acmicpc.net/problem/10101
tri = []
for _ in range(3):
tri.append(int(input()))
if sum(tri)==180:
if tri[0]==60 and tri[1]==60 and tri[2]==60:
print("Equilateral")
elif tri[0]==tri[1] or tri[0]==tri[2] or tri[1]==tri[2]:
print("Isosceles")
else:
print("Scalene")
else:
print("Error")
'자기개발👨💻 > 코딩 알고리즘' 카테고리의 다른 글
[python] 백준 1251 단어 나누기 (0) | 2020.12.25 |
---|---|
코딩테스트 한 번에 작성한것들,, (0) | 2020.10.22 |
[python] 백준 2822 점수계산 (1) | 2020.09.18 |
[python] 백준 1731 추론 (0) | 2020.08.29 |
[python] 백준 1547 공 (0) | 2020.08.29 |
[python] 백준 1264 모음의 개수 (0) | 2020.08.29 |