title: concatenate items on list using range loop and append
body: <p>I am trying to concatenate the strings in a given <code>list</code> using a loop and the append function. (<em>I know I can use the <code>join</code> function, but I am trying it for practice.</em>)</p>
  
  <p>The error I am getting is:</p>
  
  <blockquote>
    <p>Traceback (most recent call last):
    File "trial1.py", line 4, in 
    q.append(lista[i])
    AttributeError: 'set' object has no attribute 'append'</p>
  </blockquote>
  
  <p>Here is my code:  </p>
  
  <pre><code>lista = {'a','p','o','o','r','v','e'}
  q = lista
  for i in range(7):
    q.append(lista[i])
  </code></pre>