- A ['To']
- B ['Today is a nice day and a Sunday']
- C ['Today is a nice day and a Sun']
- D ['Today is a nice day']
Python Programming Language MCQ Python RegEx Module MCQ
⚠ Report ✓ Question Verified Copy Link
import re
x = re.compile(r'(.*)day')
y = x.findall('Today is a nice day and a Sunday')
print(y)
Learn More MCQ Questions from Python Programming Language MCQ Python RegEx Module MCQ