1.

What does the function re.match do?(a) matches a pattern at the start of the string(b) matches a pattern at any position in the string(c) such a function does not exist(d) none of the mentioned

Answer» The correct option is (a) matches a pattern at the start of the string

To explain I would say: It will look for the pattern at the beginning and return None if it isn’t found.


Discussion

No Comment Found