LEGO 【MINDSTORMS】EV3
Range Block
Range Block - Overview -
The Range block tests whether a number is inside or outside a specified numerical range.
The output result is True or False.
Use the Mode Selector to choose whether to test if a number is Inside or Outside a range.
The Range block compares the Test Value input to the range specified by the Lower Bound and Upper Bound inputs.
The Result will be set to True or False, based on the result of the comparison.