2. Write a Python script to read in the data from http://cammoore.github.io/ics215f14/morea/060.python/quiz-medi.data.
The data consists of lines with phone numbers. Validate the phone numbers and display the valid phone numbers. Phone numbers have:
An optional country code, one digit,
A space or dash,
An optional area code, three digits with optional parentheses,
A space or dash,
A three digit exchange number,
A space or dash,
A four digit subscriber number.
Print out the valid phone numbers from the data.
3. Email me your medi.py file when you are finished and have tested the code.
Send an email with the file attached to cmoore@hawaii.edu and dufek@hawaii.edu. The timestamp on the email will indicate when you completed the quiz. For an easy quiz you have 20 minutes to complete the problem.
Watch me solving the problem
After trying out the problem you can watch me solve the problem.