Scratch Lab 9

Pair Programming

Problem #1

Problem #2

Questions

  1. What is the length of an “empty” list?
  2. 0 is the length of an empty list.

  3. Why are lists more powerful than variables?
  4. Multiple items can be stored in the list and an unlimited amount can be added or removed from the list.

  5. Can a list contain different data types? For example, could it store both numbers and words?
  6. Yes, a list can store different types of data.