1
2
3
4
5
6
|
a = int(input())
b=int (input())
if a>0 and b>0 : print(1)
if a>0 and b<0 : print(4)
if a<0 and b>0 : print(2)
if a<0 and b<0 : print(3)
|
cs |
반응형
'python-algorithm' 카테고리의 다른 글
[백준] 15680 (0) | 2020.12.16 |
---|---|
[백준] 14924 (0) | 2020.12.16 |
[백준] 14623 (0) | 2020.12.16 |
[백준] 14470 (0) | 2020.12.16 |
[백준] 13866 (0) | 2020.12.16 |
댓글