?
What is the output of the following code:
What is the output of the following code:
import re
result = re.search(r'hello', 'Hello, world!', re.IGNORECASE)
print(result.group())
result = re.search(r'hello', 'Hello, world!', re.IGNORECASE)
print(result.group())
Join the Discussion
Login to post a comment or share your explanation.
Login