Course of Raku / Essentials / Conditional checks / Comparing strings

Quiz 1 — Compare strings

Check those expressions that result in True.

0 'abc' eq 'ABC'
1 'def' ne 'DEF'
0 'aaa' gt 'bbb'
1 'aaa' le 'bbb'
1 'zyx' ge 'zyx'
0 '135' le '005'

Course navigation

Conditional checks / Comparing numbers   |   Conditional checks / Ternary operator


💪 Or jump directly to the exercises to this section.

Translations of this page: EnglishDeutschEspañolItalianoLatviešuNederlandsБългарскиРусскийУкраїнська