Header Ads

Responsive Ads Here

Find and Replace Methods

 Find and Replace Methods



name = "Adrika Bhadauria"

# print(name.find("ik"))

print(name.replace(" ", "_"))


sen = "He is is a good boy."
print(sen.replace("is", "was"))

Powered by Blogger.