Boolean19. Check the truth of the statement: "Among the three given integers there is at least one pair of mutually opposite numbers".

Solution in Python 3:

import random
A = random.randrange(-3,3)
B = random.randrange(-3,3)
C = random.randrange(-3,3)
print("A = ", A)
print("B = ", B)
print("C = ", C)
ab = (A == -B)
bc = (B == -C)
ac = (A == -C)
x = ab or bc or ac
print("A is opposite to B: ", ab)
print("B is opposite to C: ", bc)
print("A is opposite to C: ", ac)
print("There is at least one pair of mutually opposite numbers: ", x)