title: How to remove \n from a list element?
body: <p>I'm trying to get Python to a read line from a .txt file and write the elements of the first line into a list. The elements in the file were tab- separated so I used <code>split("\t")</code> to separate the elements. Because the .txt file has a lot of elements I saved the data found in each line into a separate list.</p>
  
  <p>The problem I currently have is that it's showing each list like this:</p>
  
  <pre><code>['Name1', '7.3', '6.9', '6.6', '6.6', '6.1', '6.4', '7.3\n']
  </code></pre>
  
  <p>How can I remove <code>\n</code> from the last element of the list and make it just <code>'7.3'</code>?</p>