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
- 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