This blog is available for sale. More than 150 published articles. Please 'contact us' if interested.
Advertise with us
Python Multiple Choice Questions
The function of re.search is:
A. Matches a pattern at the start of the string
B. Matches a pattern at the end of the string
C. Matches a pattern from any part of a string
D. Such a function does not exist
Explanation: The re module of Python consists of a function re.search. It's function is to match a pattern from anywhere in a string.
© 2022-2023 Python Circle