Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upLogic operations #2
Open
Comments
|
Good thinking! I'll probably swap out the example next time I update the reference guide. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There was an example order of logic operations, I believe it read 'False or not False and True'
Any order of operations (at least ones I could think of) give same results. It'd be fun if there was an example that has different outcome in different operations order (not sure if that's even possible, but if I find one I'll put up a comment ;) ).
Left to right:
False or True and True
True and True
True
Right to left
False or not False
False or True
True
Not sure if it stands but try 'True or not True and False'
L to R
True or False and False
True and False
False
Python order
True or False and False
True or True