Test Your Knowledge: Quiz

  1. Name two ways to build a list containing five integer zeros.

  2. Name two ways to build a dictionary with two keys, 'a' and 'b', each having an associated value of 0.

  3. Name four operations that change a list object in place.

  4. Name four operations that change a dictionary object in place.

  5. Why might you use a dictionary instead of a list?