Skip to content

Logic operations #2

Description

@KamodaP

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions