?
What will be the output of the following Python code?
What will be the output of the following Python code?
s = 'welcome home'
m = re.match(r'(.*)(.*?)', s)
print(m.group())
s = 'welcome home'
m = re.match(r'(.*)(.*?)', s)
print(m.group())
Join the Discussion
Login to post a comment or share your explanation.
Login