Comparison operators and Boolean values are at the heart of every decision your programs will ever make.
In the previous chapters, you learned how to store data in variables, perform calculations, and write your first simple conditional test with the keyword IF.
Now we go deeper.
We study the tools that let a program answer questions like, is this number bigger than that one? Or are these two words identical? The answers to these questions are always of a special type called Boolean, and understanding this type is essential before you can build any real logic in JavaScript, Python, or any other language.
Read the full transcript.
Create an account to read the whole episode, search across every transcript, and follow the shows you care about.
Comparison operators and Boolean values are at the heart of every decision your programs will ever make.
In the previous chapters, you learned how to store data in variables, perform calculations, and write your first simple conditional test with the keyword IF.
Now we go deeper.
We study the tools that let a program answer questions like, is this number bigger than that one? Or are these two words identical? The answers to these questions are always of a special type called Boolean, and understanding this type is essential before you can build any real logic in JavaScript, Python, or any other language.