X = int(input())
Y = int(input())
if X > 0 and Y > 0:
print(1)
elif X > 0 and Y < 0:
print(4)
elif X < 0 and Y > 0:
print(2)
else:
print(3)
|
" target="_blank" rel="noopener" data-mce-href="http://
간단하게 풀었습니다.
반응형
'BOJ' 카테고리의 다른 글
Baekjoon #10809번 알파벳찾기 Python (0) | 2020.10.05 |
---|---|
Baekjoon #1065번 한수 Python (0) | 2020.10.05 |
Baekjoon #11654번 문자열 아스키코드 Python (0) | 2020.10.05 |
Baekjoon #11720번 숫자의 합 Python (0) | 2020.10.05 |
Baekjoon #2884번 Python (0) | 2020.10.05 |