1.

What is the output of the code shown below? n = re.sub(r'\w+', 'Hello', 'Cats and dogs')

A. Hello Hello
B. Hello Hello Hello’
C. [‘Hello’, ‘Hello’, ‘Hello’]
D. (‘Hello’, ‘Hello’, ‘Hello’)
Answer» C. [‘Hello’, ‘Hello’, ‘Hello’]


Discussion

No Comment Found