Thanh Hoan
New member
What will be the output of the following Python code?
A. ‘good evening’
B. ‘good’
C. ‘morning’
D. ‘evening’
Code:
re.sub('morning', 'evening', 'good morning')
B. ‘good’
C. ‘morning’
D. ‘evening’