Blog

What is the output of the code below?

str = “I love spain”
result = re.match(r'(.) (.?) (.*))’, str)
print(result.group(3))