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

Решение на 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 4th coordinate quarter: ", b)