

MCQOPTIONS
Saved Bookmarks
1. |
What is the output of the following?
sentence = 'horses are fast'
regex = re.compile('(?P
|
A. | {‘animal’: ‘horses’, ‘verb’: ‘are’, ‘adjective’: ‘fast’} |
B. | (‘horses’, ‘are’, ‘fast’) |
C. | horses are fast’ |
D. | ‘are’ |
Answer» C. horses are fast’ | |