Part A Find a list of all of the names in the following string using regex. In [ ]: import re def names (): simple_string Ruth and Peter, their parents, have 3 kids.""" "'''my is 5 years old, and her...


Part A<br>Find a list of all of the names in the following string using regex.<br>In [ ]: import re<br>def names ():<br>simple_string<br>Ruth and Peter, their parents, have 3 kids.

Extracted text: Part A Find a list of all of the names in the following string using regex. In [ ]: import re def names (): simple_string Ruth and Peter, their parents, have 3 kids.""" "'''my is 5 years old, and her sister Mary is 2 years old. # YOUR CODE HERE raise NotImplementedError() In [ ]: assert len(names ()) 4, "There are four names in the simple_string"

Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here