Examveda

Which method is used to replace a substring in a string with another substring?

A. replace()

B. substitute()

C. swap()

D. insert()

Answer: Option A


This Question Belongs to Python Program >> Strings In Python

Join The Discussion

Related Questions on Strings in Python