Ad

Change the input sentence so switchout changes into word.
ex.: I am smart,smart,dumb = I am dumb

def switchout(sentence,switchout,word):
    return sentence.replace(switchout,word)