The logic blocks can be used to test the veracity of statements, they are very useful in if.then.else statements. Look at possible ways to use these blocks below.

LogicBlocks.png

Logic blocks can used to see if a boolean variable is currently true or false. You can ask things like expression shown below, but it is actually redundant.

boolean1.PNG
This is preferred.
boolean2.PNG
Other boolean tests involve inequality. In the test below, we ask if an index is less than the length of a list. A true or false is returned. Thus, we call it a boolean expression.
boolean3.PNG
Here is an example of a compound condition - as two conditions are combined with a logical "and".

boolean4.PNG