1
2
3
4
5
6
7
|
a=int(input())
b=int(input())
c=int(input())
if a==60 and a==b and b==c: print("Equilateral")
elif a+b+c ==180 and (a==b or b==c or a==c): print("Isosceles")
elif a+b+c==180: print("Scalene")
else : print("Error")
|
cs |
반응형
'python-algorithm' 카테고리의 다른 글
[백준] 10162 (0) | 2020.12.16 |
---|---|
[백준] 10156 (0) | 2020.12.16 |
[백준] 5893 (0) | 2020.12.15 |
[백준] 5543 (0) | 2020.12.15 |
[백준] 5532 (0) | 2020.12.15 |
댓글