Potential Customers Worksheet

Description

You are working for a local business that has a list of potential customers in a text file called
“customers.txt”. Your task is to extract phone numbers, emails, and street addresses from this
file and organize the information in a CSV file called “customer_info.csv”. You will need to use
the regex module to match patterns in the text file and perform other operations.
This is a sample of customer information found in customers.txt “John Smith, 123 Main St,
Anytown USA, johnsmith@email.com, 555-1234”, notice that information is stored in the
order of (name, address, email, phone number). Part1
1. Open the “customers.txt” file in and read the data in the file using readlines. 2. Find a way to store customers info in separate lists. List for names, list for addresses, list
for emails and list for phone numbers. 3. Write a function data_to_dict() that generate a dictionary customers_dict with
customer names as keys and address, email, phone number as values. 4. After generating dictionary print each key with its assigned values. 5. Write this information to a CSV file called “customer_info.csv”. 6. Each row in the CSV file should have the following columns: customer name, phone
number, email, and street address.(I NEED AN EXPLANATION ON WHAT CODE I SHOULD USE AND HOW ITLL WORK)

We offer the bestcustom writing paper services. We have done this question before, we can also do it for you.

Why Choose Us

  • 100% non-plagiarized Papers
  • 24/7 /365 Service Available
  • Affordable Prices
  • Any Paper, Urgency, and Subject
  • Will complete your papers in 6 hours
  • On-time Delivery
  • Money-back and Privacy guarantees
  • Unlimited Amendments upon request
  • Satisfaction guarantee

How it Works

  • Click on the “Place Order” tab at the top menu or “Order Now” icon at the bottom and a new page will appear with an order form to be filled.
  • Fill in your paper’s requirements in the "PAPER DETAILS" section.
  • Fill in your paper’s academic level, deadline, and the required number of pages from the drop-down menus.
  • Click “CREATE ACCOUNT & SIGN IN” to enter your registration details and get an account with us for record-keeping and then, click on “PROCEED TO CHECKOUT” at the bottom of the page.
  • From there, the payment sections will show, follow the guided payment process and your order will be available for our writing team to work on it.