Q18
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')
AnswerD.
re.match('George(?=Washington)', 'Georgewashington')
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board