title: Python List Formatting and Updation
body: <p>I have a list Eg. a = ["dgbbgfbjhffbjjddvj/n//n//n' "]
  How do I remove the trailing new lines i.e. all /n with extra single inverted comma at the end? </p>
  
  <p>Expected result = ["dfgjhgjjhgfjjfgg"] (I typed it randomly) </p>