so I was just looking over a few problems where I had to interpret a piece of code, and I stumbled upon this one :
a = 10
b = 4
c = 2
d = 3
if ((c+2<d)) or ((c*d)==(a-b)):
if (True and not(True)) or True:
print ("X")
else:
print("Y")
print("Z")
I understand that the first part of the statement will evaluate to False, while the second part will evaluate to True. The problem I am having is about interpreting the if statement that follows. What is the "True and False" or "True" referring to, the previous statement? Thanks