operator precedence question | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

operator precedence question

Can someone help me understand the output? What is the result of this code? x = 4 y= 2 if not 1 + 1 == y or x == 4 and 7 == 8: print("Yes") elif x > y: print("No")

2nd Oct 2017, 3:31 PM
akash narang
akash narang - avatar
1 Answer