← Back to List

14681번: 사분면 고르기 ↗

Solutions

Python 3
155 B | 155 chars
a=int(input())
b=int(input())
if a>0:
    if b>0:
        print(1)
    else:
        print(4)
else:
    if b>0:
        print(2)
    else:
        print(3)