Course of Raku / Essentials / Conditional checks / Comparing numbers

Quiz — Compare numbers

Check those expressions that result in True.

1 10 == 10
0 10 != 10
0 20 ≠ 20
0 150 =~= 151
1 20 >= 0
0 -1 ≤ -3
1 1 <= 3
0 50 ≥ 60

Course navigation

Conditional checks / if and unless as statement modifiers   |   Conditional checks / Comparing strings


💪 Or jump directly to the exercises to this section.