Can't understand this precedence | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson

Can't understand this precedence

>>> False == False or True True >>> False == (False or True) False >>> (False == False) or True True so that's the code in part precedence booleans I need someone who can explain clearly those code , i just cannot see any comparision , why it returns false and true !!

22nd Apr 2017, 9:24 AM
thành long nguyễn
thành long nguyễn - avatar
1 Answer