What is the output of the following program : print ‘abcefd’.replace(‘cd’, ’12’)

A. ab1ef2
B. abcefd
C. ab1efd
D. ab12ed2

B.abcefd
Share the Post

Leave a Reply

Your email address will not be published. Required fields are marked *