title: Is there a way to remove punctuation at the start and end of each word in string but not the middle? Python
body: <p>write a function beautify_sentence(sentence, punctuation) which returns a new sentence (type string) that removes all the specified punctuations from words (words are separated by a white space). </p>
  
  <p>For example, sentence "?hello !mango! and, ban,ana yum apple!" with punctuation "?!," would result in returning a string "hello mango and ban,ana yum apple". </p>
  
  <p>Notice that "ban,ana" still contains comma.</p>