1.

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

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


Discussion

No Comment Found