본문 바로가기
python-algorithm

[백준] 5073

by 무적김두칠 2020. 12. 23.

1
2
3
4
5
6
7
8
import sys
while True:
    a,b,c=map(int, sys.stdin.readline().split())
    if a==0 and b==0 and c==0: break
    elif (a+b+-max(a,b,c)) <= max(a,b,c): print("Invalid")
    elif a==and b==c: print("Equilateral")
    elif a==or b==or a==c:print("Isosceles")
    else : print("Scalene")
cs
반응형

'python-algorithm' 카테고리의 다른 글

[백준] 5361  (0) 2020.12.23
[백준] 5086  (0) 2020.12.23
[백준] 4892  (0) 2020.12.23
[백준] 4880  (0) 2020.12.23
[백준] 4766  (0) 2020.12.23

댓글