def main(): word = ',,.computer;:' clean_word = word.strip('.,;:') print (word, ' clean word= ' , clean_word) main()