

MCQOPTIONS
Saved Bookmarks
1. |
What is the output of the following? sentence = 'we are humans' matched = re.match(r'(.*) (.*?) (.*)', sentence) print(matched.groups()) |
A. | (‘we’, ‘are’, ‘humans’) |
B. | (we, are, humans) |
C. | (‘we’, ‘humans’) |
D. | we are humans’ |
Answer» B. (we, are, humans) | |