Pair Up    β 00:00
Searching for a partner...

Expected Wait Time... 00:15

Users Searching... 0

Your Partner is Ready!

00:20

Booleans & Conditionals

This lesson covers the data type associated with true and false and how to execute code based on the value.
  • Using conditional statements, determine whether a number of your choosing is positive or negative and output the result
    • Repeat but determine whether the number is even or odd (integers only)
  • Create 3 variables with any numbers of your choosing. Using conditional statements determine which of the 3 is the largest.
  • Using conditional statements, determine whether a number of your choosing is divisible by 3 or 5, and if it is divisible by either, output True, otherwise, output False