0% found this document useful (0 votes)
28 views2 pages

9.boolean Operators 'And' and 'Or'

The document discusses Boolean operators 'and' and 'or' that can check if two conditions are met simultaneously using 'and' or if one of two conditions are met using 'or'.

Uploaded by

Trofin Petronel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views2 pages

9.boolean Operators 'And' and 'Or'

The document discusses Boolean operators 'and' and 'or' that can check if two conditions are met simultaneously using 'and' or if one of two conditions are met using 'or'.

Uploaded by

Trofin Petronel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Boolean Operators "and" and

“or"

So far, you learned how to check for one


single condition:

You can also check if two conditions are met


at the same time using an and operator:
That will return Yes since x == 1 and y ==1 are
both True.

You can also check if one of two conditions


are met using an or operator:

That will return Yes since at least one of the


conditions is True. In this case x == 1 is True.

You might also like