What will be the output of the following Python code?
sentence = 'we are humans'
matched = re.match(r'(.*) (.*?) (.*)', sentence)
print(matched.group(2))
sentence = 'we are humans'
matched = re.match(r'(.*) (.*?) (.*)', sentence)
print(matched.group(2))A. 'are'
B. 'we'
C. 'humans'
D. 'we are humans'
Answer: Option C

Join The Discussion