operator precedence question | SoloLearn: Learn to code for FREE!

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")

10/2/2017 3:31:08 PM

akash narang

1 Answer

New Answer

+12

http://www.mathcs.emory.edu/~valerie/courses/fall10/155/resources/op_precedence.html