num1 = int(input(""))
num2 = int(input(""))

if num1> 0 and num2>0:
    print("estas en el cuadrante 1: ", num1,",",num2)
elif num1<0 and num2>0:
    print("estas en el cuadrante 2: ", num1, ",", num2)
elif num1<0 and num2<0:
    print("estas en el cuadrante 3: ", num1, ",", num2)
elif num1>0 and num2<0:
    print("estas en el cuadrante 4: ", num1, ",", num2)
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: