Page 1 of 1

Which of the following lines of code will not show a match?

Posted: Wed Jul 13, 2022 7:45 pm
by answerhappygod
a) >>> re.match(‘ab*’, ‘a’)
b) >>> re.match(‘ab*’, ‘ab’)
c) >>> re.match(‘ab*’, ‘abb’)
d) >>> re.match(‘ab*’, ‘ba’)