# Censoring program import string print "***************************************************" print "* *" print "* Censorware *" print "* *" print "***************************************************" print bad = raw_input("What word do you want censored? ") print good = raw_input("What word do you want in place of that bad word? ") print print "To test censor, type in a sentence:" sentence = raw_input() print print "-----------------Censored Sentence-----------------------" print new_sentence = string.replace(sentence, bad, good) print new_sentence