x = float(input("Ingresa la coordenada x: "))
y = float(input("Ingresa la coordenada y: "))

if x > 0 and y > 0:
    print("Está en el cuadrante I")
elif x < 0 and y > 0:
    print("Está en el cuadrante II")
elif x < 0 and y < 0:
    print("Está en el cuadrante III")
elif x > 0 and y < 0:
    print("Está en el cuadrante IV")
elif x == 0 and y == 0:
    print("Está en el origen")
elif x == 0:
    print("Está sobre el eje Y")
else:
    print("Está sobre el eje X")

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: