Question: Program in python 3.x Add comments if possible for clarity. Thanks. Try to modify the code to be fairly simple and easy to understand. The

Program in python 3.x Add comments if possible for clarity. Thanks. Try to modify the code to be fairly simple and easy to understand.

Program in python 3.x Add comments if possible for clarity. Thanks. Try

The international standard letterumber mapping for telephones is EA, B C -> 2 D, E, F ->3 G, H, I 4 J, K Lj -> 5 IM, N, 0> 6 P, Q, R, SJ -> 7 {T, U, V}-> 8 Write a function getNumber) that takes an upper case letter and returns the number according to the international standard above Write a test program that prompts the user to enter a phone number as a string The input number may contain letters. The program translates a letter (uppercase or lowercase) to a digit and leaves all other characters intact Here are sample runs of the program Enter a string: 1-800- Flowers 1-800-3569377 Enter a string: 1800 flowers 18003569377

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!