You are to produce a program that allows the user to build a class list to manage student’s....

You are to produce a program that allows the user to build a class list to manage student’s....

You are to produce a program that allows the user to build a class list to manage student’s names and their associated majors. Your program must have the following:

A header with CCA name and address and a unique name for the program. (OPTIONAL: Try to locate the method in the Python Documentation that will allow you to center this information on the page.) and description sentences
Create a selection menu that will allow the user to select from the following:Create a new class - This option should simply create a new dictionary.  Ask the user for name of the class.  Use this name for the name of the file when saved.
Edit an existing class - This option opens a pickled dictionary object.  You would ask the user to enter the name of dictionary file to open.
Look up a student - This option should allow the user to enter the name of a student and return the student name and major.  Be sure to use the get method in case the student is not found.
Add a new student - This option should add a student and their major to the dictionary.
Delete a student - This option should delete a student and their major from the dictionary.
Change a major - This option should allow the user to change the major of a student in the dictionary.
Quit the program (HINT: Refer to Spotlight example on page 385 to complete some parts of this menu)
A dictionary that holds student names and associated majors
Code that allows the user to execute the commands listed in the above menu.
This dictionary must built by user input
Your dictionary must then be saved to a file for later retrieval by the user.  There should be no need to submit a .dat file with your program because the user must create the .dat file while running the program.
Powered by