이카's
article thumbnail
Published 2020. 10. 5. 11:33
Baekjoon #14681번 Python BOJ

 

= int(input())
= 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://

 

">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
profile

이카's

@Edan Cafe ☕

포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!