Question: The case still have assertion error, words = re . findall ( r ' w + ' , content ) # Use regex to
The case still have assertion error,
words refindallrw content # Use regex to find all words
modifiedwords wordcapitalize for word in refindallrbwb content # Capitalize each word
modifiedstring joinmodifiedwords # Join modified words back to a string
Attched please find the test case, the text is in one line, not a paragraph.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
