1.

What is the output of the following? print('xyyxyyxyxyxxy'.replace('xy', '12', 0))

A. xyyxyyxyxyxxy
B. 12y12y1212x12
C. 12yxyyxyxyxxy
D. xyyxyyxyxyx12
Answer» B. 12y12y1212x12


Discussion

No Comment Found