What does Boolean mean?
A value that is either True or False. Comparisons produce Booleans, and if and while decide what to do from them.
In a lesson
Python can compare values. The answer is one of two Boolean values,
TrueorFalse:
Learn it
- Taught in F2.2 Selection: if Decisions and loops, GCSE
Used in
- F1.8 Data types and casting
- F2.3 else, elif and Boolean operators
- F9.2 Logic circuits and expressions
- A1.1 Data types and programming constructs
- A1.2 Operations, strings and random numbers
- A1.10 Project: the behaviour controller
- A3.1 Arrays, records and tuples
- A8.1 Logic gates and notation
- A8.2 Circuits, expressions and truth tables
- A8.3 Boolean identities and laws
and 12 more lessons.
Do the lesson in the simulator