remove punctuations from a sentence and split the sentence into a list
def remove_punctuation(input_string): """ See assignment description """ sentence=input_string.replace(".","") sentence=sentence.replace(",","") sentence=sentence.replace("'","") sentence=sentence.replace("’","") sentence=sentence.replace("?","") sentence=sentence.replace("!","") sentence=sentence.replace(";","") sentence=sentence.replace(":","") sentence=sentence.replace("-","") sentence=sentence.split(" ") return sentence