William Jeffrey P.

asked • 04/11/19

Hi, I need help with a program I am working on. This is the question?

How would I write a Python program that inputs a string of characters which represent a vanity telephone number, e.g., 800-MYPYTHON, and prints the all numeric equivalent, 800-69798466. You should implement this using a loop construct to process each character from left to right. Build a new string that is the all numeric equivalent and then print the string.

1 Expert Answer

By:

Joey G. answered • 04/18/20

Tutor
New to Wyzant

Howdy! My name is Joey and I am a Python Programmer from Wisconsin!

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.