Ctrl / ⌘ + drag to orbit · Ctrl / ⌘ + scroll to zoomDrag to orbit · Pinch to zoom
The 3D world is unavailable in this browser. Your lesson, code, and results are still available.
LESSON 2.11
Comparisons such as >= , < , and == produce Boolean values. Combine conditions with && (and), || (or), and ! (not).
>=
<
==
Boolean
&&
||
!
Goal Print true when energy is at least 50 and below 90; print false for every other sensor reading.
true
false