Q.

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

A. ab1ef2
B. abcefd
C. ab1efd
D. ab12ed2
Answer» B. abcefd
3.6k
0
Do you find this helpful?
39

View all MCQs in

Python Programming

Discussion

Bass Junior
9 months ago

Many thanksfor your help,pls. God richly bless you.
0