**** For this assignment you will be searching a list of phone numbers. Your task is...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
**** For this assignment you will be searching a list of phone numbers. Your task is to find all phone numbers that match at least one of the following criteria. 11 In order to receive full credit on this assignment, you must use the regular expression tools available in the re Python module. The following is a list of milestones for this project. T Has an area code of 479, 501, or 790 The three digits after the area code are 632 Has a repeating string of at least three identical digits. [] Open the file of phone numbers and be able to iterate through the file one phone number at a time. [] Create a regex object that can search for the appropriate phone numbers Use the regex object to identify matching phone numbers from the file Write the matching phone numbers to a new file Use the list of 100,000 phone numbers that is attached to this assignment. Posted Today at 10:59 am phone.txtMO VIEW **** For this assignment you will be searching a list of phone numbers. Your task is to find all phone numbers that match at least one of the following criteria. 11 In order to receive full credit on this assignment, you must use the regular expression tools available in the re Python module. The following is a list of milestones for this project. T Has an area code of 479, 501, or 790 The three digits after the area code are 632 Has a repeating string of at least three identical digits. [] Open the file of phone numbers and be able to iterate through the file one phone number at a time. [] Create a regex object that can search for the appropriate phone numbers Use the regex object to identify matching phone numbers from the file Write the matching phone numbers to a new file Use the list of 100,000 phone numbers that is attached to this assignment. Posted Today at 10:59 am phone.txtMO VIEW
Expert Answer:
Related Book For
Modern Database Management
ISBN: 978-0133544619
12th edition
Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi
Posted Date:
Students also viewed these programming questions
-
In this question assume that p and q are atomic formulae. (a) Compare and contrast path formulae and state formulae in temporal logic. [4 marks] (b) Describe and contrast the meanings of F(G p) and...
-
Hyten Corporation On June 5, 1998, a meeting was held at Hyten Corporation, between Bill Knapp, Director of Marketing/Sales, and John Rich, director of engineering. The purpose of the meeting was to...
-
A solid cubical block of side length 0.6 m is suspended from a spring balance. When the block is in water, the spring balance reads 80% of the reading when the block is in air. Determine the density...
-
Motomation Pty Ltd plans to acquire several retail automotive parts stores as part of its expansion program. Motomation carries out en extensive review of possible acquisitions prior to making any...
-
Each autumn, as a hobby, Suzanne De Angelo weaves cotton placemats to sell at a local crafts shop. The mats sell for $20 per set of four. The shop charges a 10% commission and remits the net proceeds...
-
How do we discover business activities?
-
You are thinking about investing $5000 in your friends landscaping business. Even though you know the investment is risky and you cant be sure, you expect your investment to be worth $5750 next year....
-
Discuss the key components of an environmental analysis, determining the status of external factors that will impact the company's offerings.
-
Use the from step b) to compute the monthly excess outperformance (or underperformance in case the number is negative) of Fund X. The formula is: RX - RVG (as a reminder Rx and Rvg are excess returns...
-
1. You deposit $200 in an account earning 6% interest compounded annually. How much will you have in the account in 15 years? 2. You deposit $3000 in an account earning 8% interest compounded...
-
Solve the linear programming problems in Problems 56-59. Suppose the net profit per bushel of corn in Example 3 increased to \(\$ 2.00\) and the net profit per bushel of wheat dropped to \(\$ 1.50\)....
-
If we take the first few rows of Pascal's triangle and arrange them into a lower triangular matrix, we form what is called a Pascal matrix: a. Find the inverse of this matrix. b. Make a general...
-
Sterling silver contains \(92.5 \%\) silver. How many grams of pure silver and sterling silver must be mixed to get 100 grams of a \(94 \%\) alloy?
-
The radiator of a car holds 17 quarts of liquid. If it now contains \(15 \%\) antifreeze, how many quarts must be replaced by antifreeze to give the car a \(60 \%\) solution in its radiator?
-
Write a linear programming model, including the objective function and the set of constraints, for Problems 52-55. DO NOT SOLVE, but be sure to define all your variables. Brown Bros., Inc. is an...
-
Which of the differential equations is a linear differential equation and why? (show work) (1) dy/dx + xy^2 = sin(x) (2) dy/dx + x^2y = e^y sin(x) (3) dy/dx + x^2y = sin(y) sin(x) (4) dy/dx + x^2y =...
-
For the given transfer function: Vo(s) / Vi(s) = (s^2C^2R^2 + 1) / (s^2C^2R^2 + 4sCR + 1) Assumiing that 1/(CR) = 120 PI so write the matlab code to find the magnitude plot
-
How long had each student studied in the adult literacy program? Based on the relations shown in Figure 6-12. The database tracks an adult literacy program. Tutors complete a certification class...
-
Match each of the following terms with the most appropriate definition: client/server system a. a client that is responsible for processing, including application logic and presentation logic...
-
Any successful data governance program needs to address the people ("who"), ("how"), and technology ("what") aspects. Based on your reading of Chapter 10, provide some examples for each of these...
-
Can you name five types of channels of communication?
-
How would you define your own leadership style? Do you have examples you can share with others on how you lead when called on?
-
Revisit the definition of strategic communication and then review the vignette at the beginning of the chapter. Match the different terms in the definition to the different entities in the vignette.
Study smarter with the SolutionInn App