Question: Python 3 Phone Numbers to Letters Write a program that will print to the screen all of the words and the associated numbers that could

Python 3 Phone Numbers to Letters

Write a program that will print to the screen all of the words and the associated numbers that could be generated through an 800 phone number that has the prefix 555. The numbers 1 and 0 on a keypad do not have letters associated with them.

Here are some examples of the words that would be generated and the format for the output:

Number Word
1.800.555.2222 1.800.555.AAAA
1.800.555.2222 1.800.555.AAAB
1.800.555.2222 1.800.555.AAAC
1.800.555.2223 1.800.555.AAAD
1.800.555.2223 1.800.555.AAAE
1.800.555.2223 1.800.555.AAAF
1.800.555.2224 1.800.555.AAAG
1.800.555.2224 1.800.555.AAAH
1.800.555.2224 1.800.555.AAAI

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!