Home / Programming MCQs / Python MCQs / Question

S

Shivam • 8.86K Points
Tutor III

Q. What is the output of the following program :

Code:
print 'abcefd'.replace('cd', '12')
(A) ab1ef2
(B) abcefd
(C) ab1efd
(D) ab12ed2

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.