Building an Address Book

Telephone Book 1

So we’re working on building a simple address book program.  Today we are setting up the structure of two classes, Contact and AddressBook.

As we discussed in class, write the code for the two classes, then use the main program below to test your code.

# *****************************************************
# Class Definitions
# *****************************************************

    # Put class definition code here
		
# *****************************************************
# Main Program
# *****************************************************

mycontact = Contact("George","Washington", "Geo", "555-1234", "234-1600",
	"gwashington@usa.gov", "PutPhotoHere", "1600 Pennsylvania Ave NW", 
        "Washington", "D.C.", "20500")

print ("The first President was " + str(mycontact.firstName) + " " + 
        str(mycontact.lastName) + ".")
print ("His email is " + str(mycontact.email) + ".")

Add print statements to the main program to display the remaining information about President Washington.

When your code is working properly or when time has run out for today, please submit your work using  this submission link.