Lab Assignment: Due by the end of Lab!

 

 

 

 

 

Create an address book:

 

 

 

There should be a base class for

general people (first, last, phone)

 

with children classes of student (SID, GPA)

 

and teacher(TID, Class #).

 

 

Allow user to create as many entries as they wish, of any of the different address types.

 

Store the entries in a dictionary by ID

 

Ask user if they would like to search by first name or last name,

Then take that name and look for it in the dictionary.  Report number of records found, with first and last name of all options.

Print the record the user selects.

 

Ask user if they would like to delete an entry.

 

Provide an exit option.

 

If you have time, create entries from the datafile.

 

Please turn in your python file to the turnin system.