Lesson 4 of 11 · 7 min

Boolean logic: AND, OR, NOT

Boolean values are just true or false. We combine conditions with AND (both must be true), OR (at least one true), and NOT (flips it). "If it is sunny AND it is the weekend, go to the park."

true & false

AND, OR, NOT combine true/false

Let’s try it! ✍️

Question 1 of

🎉

Great job!

You finished this lesson.

Next lesson → All lessons