Assignment requires function creation and using string methods. Instructions :The instructions below list the assignment requirements.1.Create a Python code file named M6HW_FirstLast.py(replace...



  • Assignment requires function creation and using string methods.Instructions:The instructions below list the assignment requirements.1.Create a Python code file named M6HW_FirstLast.py(replace "FirstLast" with your own name)2. Add a title comment block to the top of the new Python file using the following form# A brief description of the project# Date# CSC121 M6HW – Alpha Tele Num Translator# Your Name3. Many companies use telephone numbers like 555-GET-FOOD so the number is easier for their customers to remember. On a standard telephone, the alphabetic letters are mapped to numbers in the following fashion:A, B and C = 2D, E and F = 3G, H and I = 4J, K and L = 5M, N and O = 6P, Q, R and S = 7T, U and V = 8W, X, Y and Z = 9Write a program that asks the user to enter a 10-character number in the format XXX-XXX-XXXX. The application should display the telephone number with any alphabetic characters that appeared in the original translated to their numeric equivalent. For example, if user enters 555-GET-FOOD, the application should display 555-438-3663. (80 points)4. After displaying the translated telephone number, ask the user if they’d like to enter another number. If the user enters “y”, run program again. If not, terminate the program. (10 points)Note: the sentence the program reads SHOULD NOT be hardcoded. Allow the user to enter the sentence the program readsSubmit
    your finished code solution file(s) through the assignment link belowNote: Write program Pseudocode (detail algorithm) and add it as a comment block to the submitted program. (10 points)Grading criteria:Shown above

Nov 25, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here