plus
block, for example, reports a number. Predicates are blocks that always report a Boolean value (either or ).
Now, you will create some more tools that you may use often, especially for complicated programming tasks.
>
), an "equal" operator (=
), and a "less than" operator (<
) built in, but doesn't have a "greater than or equal to" (>=
) operator. Build and test it well to make sure it does what you expect.
>=
between the two input slots, use the left plus sign in the Block Editor.
There are several correct ways to do this! As long as your block gives the right true
and false
answers, it's correct.