Project#
The enrollment analysis project asks you to loop over a collection of elements representing individual student enrollments in a class, selecting and separating values to produce a summary of enrollments by major.
The primary objective of the enrollment analysis project is to
practice a fundamental loop
idiom, the accumulator pattern, together with some ways of
representing tabular data. You will use both lists and dictionaries
as representations of tabular data. You will use dictionaries (type
dict
) in a version of the accumulator pattern, to keep counts of
elements in a list. You will also use a dictionary to expand abbreviated
codes from a list of student majors.