please assist with the following task regarding the customerdata files. I’d like to see all of the customer phone numbers usethe following format:
(xxx)xxx-xxxx
I am needing to write a code so the numbers output like aboveexample with no space. This is for python being used in codio. Thisalso needs to be included:
- Provide the regex code that would be required to meet the taskpresented.
- Describe the relevance of the task: Were regular expressionsthe best or only way to approach the task? What other data or taskscould be used to increase effectiveness or better achieve the goalpresented?
This is the start of the code:
import csv
import
OR
OR