Write a program to replace a string by a given string #in a sentence


Topic: Write a program to replace a string by a given string #in a sentence

Solution

string = 'This is beautiful picture'
string.replace('beautiful','good')



List all Python Programs