1.

What does the function re.search 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» Correct choice is (b) matches a pattern at any position in the string

For explanation: It will look for the pattern at any position in the string.


Discussion

No Comment Found