Boolean25. The numbers x, y are given. Check the truth of the statement: "The point with the coordinates (x, y) lies in the second coordinate quarter".

Solution in Python 3:

import numpy as np

x,y = list(np.random.choice(range(-10, 11), 2))
print("x = {0}, y = {1}".format(x,y))

b = (x < 0 and y > 0)
print("The point lies in the 2nd coordinate quarter: ", b)