Hello If

Now that we’re comfortable with Booleans, we’re ready to jump into conditionals. The term conditional refers to making decisions in your program on what to do. In other words, you’ll do something conditionally based on some value. The most common word used for this in programming is if. If something is true, then do something else.

Let’s dive right in with an example:

Get hands-on with 1200+ tech skills courses.