

MCQOPTIONS
Saved Bookmarks
1. |
Which of the codes shown below results in a match? |
A. | re.match(‘George(?=Washington)’, ‘George Washington’) |
B. | re.match(‘George(?=Washington)’, ‘George’) |
C. | re.match(‘George(?=Washington)’, ‘GeorgeWashington’) |
D. | re.match(‘George(?=Washington)’, ‘Georgewashington’) |
Answer» D. re.match(‘George(?=Washington)’, ‘Georgewashington’) | |