Q81
What will be the output of the following Python code? re.sub('Y', 'X', 'AAAAAA', count=2)
A.
'YXAAAA'
B.
('YXAAAA')
C.
('AAAAAA')
D.
'AAAAAA'
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board