Booleans
The two values True and False - what a comparison like a == b gives back, and what a program decides with.
Depth 1 · Foundation
You know that comparisons such as ==, !=, <, <=, > and >= give True or False, can tell == from =, and can store a boolean, print it and return it from a function like is_even.
Sign in to prove what you know with a short quiz, see how deep you've gone, and earn XP for it.
Sign in with GoogleDepths of understanding
- 1
Foundation
You know that comparisons such as ==, !=, <, <=, > and >= give True or False, can tell == from =, and can store a boolean, print it and return it from a function like is_even.
Your path here
What's still between you and Booleans, depth 1, in the order you can learn it.
- 1ProgramDepth 1 · Foundation · Program Basics
- 2ExpressionDepth 1 · Foundation · Program Basics
- 3Variables in codeDepth 1 · Foundation · Program Basics
- 4Program stateDepth 1 · Foundation · Program Basics
- 5Input and outputDepth 1 · Foundation · Program Basics
- 6Functions in codeDepth 1 · Foundation · Functions
- 7Return valuesDepth 1 · Foundation · Functions
- 8BooleansDepth 1 · Foundation · Control Flow