PYTHON CIRCLE
Practice
Python Books
Archive
Subscribe
Login
Menu
Login
Practice
Python Books
Archive
Subscribe
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
Show Answer
Next Question
Correct Answer:
C
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
Contact
Sponsor
Archive
Sitemap