Write a function that returns a number, given an uppercase letter, as follows:
Thehonest (Not rated)
(Not rated)
Write a function that returns a number, given an uppercase letter, as follows:
def getNumber(uppercaseLetter):
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 (upper- or lowercase) to a digit and leaves all other
characters intact.
Here is a sample run of the program:
Enter a string: 1-800-Flowers
1-800-3569377
Enter a string: 1800flowers
18003569377
- 7 years ago
A+ Work
NOT RATED
Purchase the answer to view it
- phone_keypads.zip