PYTHON CIRCLE
Practice
Python Books
Archive
Subscribe
Login
Menu
Login
Practice
Python Books
Archive
Subscribe
Python Multiple Choice Questions
Which of the following functions creates a Python object?
A. re.compile(str)
B. re.assemble(str)
C. re.regex(str)
D. re.create(str)
Show Answer
Next Question
Correct Answer:
A
Explanation: The function re.compile(srt) compiles a pattern of regular expression into an object of regular expression. Hence re.compile(str) is the only function from the above options which creates an object.
© 2022-2023 Python Circle
Contact
Sponsor
Archive
Sitemap