title: Why does python return the n+1th list element rather than the nth?
body: <p>i m new to Python and have following problem</p>
  
  <pre><code>&gt;&gt;&gt; choice = [1,0,1,1,]
  &gt;&gt;&gt; choice = [1,0,1,1]
  &gt;&gt;&gt; print(choice)
  [1, 0, 1, 1]
  &gt;&gt;&gt; print(choice[2])
  1
  </code></pre>
  
  <p>why it print 1 rather than 0?</p>