title: In line.split('+')[-1] what does the -1 in the square brackets indicate in Python
body: <p>Let's assume that we have this code:</p>
  
  <pre><code>name = line.split('+')[-1]
  </code></pre>
  
  <p>What does the -1 do? I have seen it in various codes but not sure on what it does?
  And what would the difference be if there was a <code>[0]</code> or a <code>[1]</code>?</p>