MCQ Practice
Single Best Answer
Topic: Python RegEx Module MCQ
Q
What will be the output after the following statements?
import re
x = re.compile(r'(Sun)?day')
y = x.search('Today is a nice day and a Sunday')
print(y.group())
Subchapter
Python RegEx Module MCQ
Action
Choose one option below