Variables, Lists & Procedures

Every program needs a way to remember things, a player's score, a user's name, the running total of a bill. In AP CSP that memory comes from variables . A variable is a named box that holds a single value, and the value can change as the program runs. Assignme

8 lessons, each with runnable code in the browser.

  1. Variables and Assignment
  2. Lists: Storing Many Values
  3. Expressions and Operators
  4. Working with Strings
  5. List Operations: Build and Modify
  6. Procedures and Parameters
  7. Return Values
  8. Variable Scope

Compilearn home