Ch 15 find and replace method
string = "she a is beutiful girl"
print(string.replace("what you want to replace", "which word replace with first word"))
Like+=====
String="she is a beautiful girl"
Print(string.replace("is","the"))
string = "she a is beutiful girl"
print(string.replace("what you want to replace", "which word replace with first word"))
Like+=====
String="she is a beautiful girl"
Print(string.replace("is","the"))
Comments
Post a Comment