x = float(input(""))
y = float(input(""))

if x > 0 and y > 0:
    print("El punto está en el cuadrante I")

elif x < 0 and y > 0:
    print("El punto está en el cuadrante II")

elif x < 0 and y < 0:
    print("El punto está en el cuadrante III")

elif x > 0 and y < 0:
    print("El punto está en el cuadrante IV")

else:
    print("El punto está sobre un eje o en el origen")

Embed on website

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