Click here to navigate the course.

Drag the edges to resize the window.

In Projects, you can keep track of your progress as you go throught the tasks. Check each item as you complete it!

Code Editor
Learn
Control Flow in Ruby

Combining Boolean Operators

You can combine boolean operators in your expressions. Combinations like

(x && (y || w)) && z

are not only legal expressions, but are extremely useful tools for your programs.

These expression may take some getting used to, but you can always use parentheses to control the order of evaluation. Expressions in parentheses are always evaluated before anything outside parentheses.

Report a Bug
If you see a bug or any other issue with this page, please report it here.