Home / MCQ Bank / Computer
Computer Regular Expressions In Python Difficulty: Medium

What will be the output of the following Python code? n = re.sub(r'\w+', 'Hello', 'Cats and dogs')

Select the correct option to test your answer:

More Computer Questions

What is the purpose of the 'volatile' keyword in C#? What is the auxiliary space complexity of binary insertion sort? In C, which control structure is used to iterate through a collection of items, such as an array or a list? A program that converts computer data into some code system other than the normal one is known as In Hadoop architecture, what does the term "shuffle and sort" refer to?