Vidyalelo
Python · Q60

Regular Expressions in Python

Programming · Python · question 60

Q60

What will be the output of the following code:import reresult = re.findall(r'd1,3', 'There are 25 apples and 300 oranges.')print(result)

A.
['25', '300']
Answer
B.
An error will occur
C.
['25', '0']
D.
['2', '3']

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board