scientific_comp_projects/CODE/[python]kattis/trivial/quadrant_selection.py
2021-10-29 15:16:40 +02:00

17 lines
213 B
Python

x = int(input())
y = int(input())
quadrant = 0
if x>0 :
if y>0 :
quadrant=1
else :
quadrant=4
else :
if y>0 :
quadrant=2
else :
quadrant=3
print(quadrant)