Q93
What will be the output of the following Python code snippet? print('abcdef12'.replace('cd', '12'))
A.
ab12ef12
AnswerB.
abcdef12
C.
ab12efcd
D.
none of the mentioned
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board