 a list:</font><br />
<br />
<a name="@default506"></a>
<a name="@default507"></a>
<pre><font size="4" color="blue">
&gt;&gt;&gt; t = ['a', 'b', 'c']
&gt;&gt;&gt; t.append('d')
&gt;&gt;&gt; print t
['a', 'b', 'c', 'd']
</font></pre><font color="black"><tt>extend</tt> takes a list as an argument and appends all of
the elements:</font><br />
<br />
<a name="@default508"></a>
<a name="@default509"></a>
<pre><font size="4" color="blue">
&gt;&gt;&gt; t1 = ['a', 'b', 'c']
&gt;&gt;&gt; t2 = ['d', 'e']
&gt;&gt;&gt;