0 votes
in Python by
What is the output of the following program :

print 'abcefd'.replace('cd', '12')

 

ab1ef2

abcefd  

ab1efd

ab12ed2
...