Append multiple items
<p>I have:</p>

<pre><code>count = 0
i = 0
while count &lt; len(mylist):
    if mylist[i+1] == mylist[i+13] and mylist [i+2] == mylist [i+14]: 
        print mylist[i+1], mylist[i+2]
    newlist.append(mylist[i+1])
    newlist.append(mylist[i+2])
    newlist.append(mylist[i+7])
    newlist.append(mylist[i+8])
    newlist.append(mylist[i+9])
    newlist.append(mylist[i+10])
    newlist.append(mylist[i+13])
    newlist.append(mylist[i+14])
    newlist.append(mylist[i+19])
    newlist.append(mylist[i+20])
    newlist.append(mylist[i+21])
    newlist.append(mylist[i+22])
    count = count+1
    i = i+12
</code></pre>

<p>I wanted to make the newlist.append() statements into a few statements. </p>

<p>Thanks.</p>
