1.

What is the output of the following? print('abef'.replace('cd', '12'))

A. abef
B. 12
C. error
D. none of the mentioned
Answer» B. 12


Discussion

No Comment Found