We want to make our own predicate, a kind of block that reports either true or false. We have a "greater than" operator (>), an "equal" operator (=), and a "less than" operator (<), but we want a new "greater than or equal to" (>=) operator.
-
We will create the new block and select the
predicate shape.
-
This gives a
Block Editor that has a predicate-shaped blank at the bottom. There, we need to place the predicate that we want to report.
-
We can fill that in with a composition of a "greater than", "or", and "equal" operators. Make this with your partner and then try it out. Notice that this predicate block reports either
true or false.