Boolean Logic
The boolean
type has only two possible values: true
and false
. We can use
several operators with these values to form larger boolean expressions to use
with if
statements and other constructs to ask complex questions. This chapter
will focus on understanding the boolean logic operations and how to use them.