?
What will be the output of the following code:
What will be the output of the following code:
import re
pattern = re.compile(r'b[A-Z]+b')
result = pattern.findall('Hello, WORLD!')
print(result)
pattern = re.compile(r'b[A-Z]+b')
result = pattern.findall('Hello, WORLD!')
print(result)
Join the Discussion
Login to post a comment or share your explanation.
Login