Operator Precedence/Boolean Logic
Elizabeth Weiss
cake240 at gmail.com
Tue Jun 21 23:40:05 EDT 2016
Hi There,
I am a little confused as to how this is False:
False==(False or True)
I would think it is True because False==False is true.
I think the parenthesis are confusing me.
(False==False) or True
This is True. Is it because False==False? And True==False is not True but that does not change that this is True.
If someone could please explain as I am teaching Python to myself and am stuck on this that would be great.
Thank you for your help!
More information about the Python-list
mailing list