Q8
What is the output of the following code:import reresult = re.sub(r'd+', 'number', 'There are 5 apples and 3 oranges.')print(result)
A.
There are number apples and number oranges.
AnswerB.
An error will occur
C.
There are 5 apples and 3 oranges.
D.
There are number apples and 3 oranges.
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board