- A Today is a nice day. Let's go for a walk. We'll also go to the park.
- B Today is a nice day.\n Let's go for a walk.
- C ['Today is a nice day.']
- D Today is a nice day.
Python Programming Language MCQ Python RegEx Module MCQ
⚠ Report ✓ Question Verified Copy Link
import re
x = re.compile('.*', re.DOTALL)
y = x.search("Today is a nice day.\n Let's go for a walk.\n
We'll also go to the park.")
print(y.group())
Learn More MCQ Questions from Python Programming Language MCQ Python RegEx Module MCQ