You have been hired by a small publisher to create a dictionary to hold their client's name
Question:
You have been hired by a small publisher to create a dictionary to hold their client's name and telephone number. The publisher does not need anything fancy; they just want a dictionary that will store all their client's names and telephone numbers. Here's the code that represents the telephone entries:
# define our simple telephone book telephone_book = {
“Ernest Hemingway”: “414-878-7745”, “Stephen King”: “240-123-4564”, “Charles Dickens”: “321-458-7785” }
1. Write a program that lists all the numbers in the dictionary. Here's the sample run of your program:
Client Name Telephone#
Ernest Hemingway 414-878-7745
Stephen King 240-123-4564
Charles Dickens 321-458-7785
Business research methods
ISBN: 978-1439080672
8th Edition
Authors: William G Zikmund , Barry J. Babin, Jon C. Carr, Mitch Griff