A simple censor checker in string for python