Question: Codio/Python. Project 4 draft regular expression. Could i get some help with this final step to this project, i finished the other part of the
Codio/Python. Project 4 draft regular expression. Could i get some help with this final step to this project, i finished the other part of the project, but i am unsure exactly what they need for this last half . Listed below is what i used that worked for the other parts of this assignment, i am including a picutre of this last half as well.
#part 1 results = re.findall("[^a-zA-Z0-9]", lorem_ipsum) print(len(results))
#part 2 occurences_sit_amet = re.findall(r"sit[-:]amet", lorem_ipsum) print(len(occurences_sit_amet))
#part 3 replace_results = re.sub(r"sit[-:]amet", "sit amet", lorem_ipsum)
#part 4 occurences_sit_amet = re.findall("sit amet", replace_results) print(len(occurences_sit_amet))


Completing your Project Once you have attempted all of the elements in the Draft script, you will need to complete some additional steps before you submit it for grading. 1. Clean up your script file. Remove all extra commented areas that were provided as guides in the Draft script. 2. Add your own comments Refer to the IT140 Project Four Guidelines and Rubric: Pattern Search and Replace Script Draft Document. Here you will find specific areas of your code that you should identify with conments Next Completing your Project Once you have attempted all of the elements in the Draft script, you will need to complete some additional steps before you submit it for grading. 1. Clean up your script file. Remove all extra commented areas that were provided as guides in the Draft script. 2. Add your own comments Refer to the IT140 Project Four Guidelines and Rubric: Pattern Search and Replace Script Draft Document. Here you will find specific areas of your code that you should identify with conments Next
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
