Learn

In this lesson you will learn about:

  1. performing basic mathematical operations on variables and values using common symbols.
  2. assigning values to variables and/or performing basic mathematical operations using shorthand operations.
  3. comparing two values and/or variables against each other to return a true/false.
  4. using logical operators (and, or, and not).

In the previous lesson, you learned how to create and set variables, but not what you can do with them beyond that. In this lesson, you will learn about modifying variables with the power of math, some shorthand assignment methods, and how to compare variables and values. Finally, we will go over how to use logical operators for “and,” “or,” and “not.”

Take this course for free

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.
Already have an account?