title: list index out of range - Python lists with one element
body: <p>I have a list with just <strong>one</strong> element as: </p>
  
  <pre><code>tempeqpos2 = [600]
  </code></pre>
  
  <p>And it's coordinate is stored in a list called <code>points3</code> as follows:</p>
  
  <pre><code>points3 = [(1795,3866)]
  </code></pre>
  
  <p>Now I'm trying to append this coordinate into a list called <code>originalval2</code> as follows:</p>
  
  <pre><code> originalval2=[]
   for att in tempeqpos2:  
       originalval2.append(list(points3[att]))
  </code></pre>
  
  <p>But this gives me an <code>IndexError:</code> <code>list index out of range</code>. Can you figure out the problem here? </p>
  
  <p>Since each <code>tempeqpos2</code> and <code>points3</code> has only one element, I tried making <code>originalval2</code> by giving  <code>originalval2=points3</code>. But this didn't work... </p>