Python

Names and Phone Numbers

[using a Python dictionary]

18 points ? 

Introduction

This project stores the names and phone numbers of every family in a town. It then provides various methods that allow the user to access this information. (A webpage said that there are 5203 households in Metuchen, so there are 5203 name - phone number pairs in this project.) The 2010 census data includes a spreadsheet that lists the most common last names in the U.S. I used the 5203 most common last names in the U.S. for this project. The phone numbers are fake; I made them up.

Here is a summary of the methods in the project: