1041 Solución URI

//uri problem 1041 || coordinates of a point in python 3.9

inp = input()
x, y = inp.split()
x = float(x)
y = float(y)
if x == 0 and y ==0:
    print("Origem")
elif(x==0):
    print("Eixo Y")
elif(y==0):
    print("Eixo X")
elif x > 0 and y > 0:
    print("Q1")
elif x < 0 and y > 0:
    print("Q2")
elif x < 0 and y < 0:
    print("Q3")
elif x > 0 and y < 0:
    print("Q4")
Exuberant Echidna