?
What is the output of the following code:
What is the output of the following code:
import re
result = re.search(r'd{2}', 'There are 25 apples and 3 oranges.')
print(result.group())
result = re.search(r'd{2}', 'There are 25 apples and 3 oranges.')
print(result.group())
Join the Discussion
Login to post a comment or share your explanation.
Login