color="blue">
t.append(x)
t = t + [x]
</font></pre>
<font color="black">And these are wrong:
</font><pre><font size="4" color="blue">
t.append([x])          # WRONG!
t = t.append(x)        # WRONG!
t + [x]                # WRONG!
t = t + x              # WRONG!
</font></pre>
<font color="black">Try out each of these examples in interactive mode to make sure
you understand what they do. Notice that only the last
one causes a runtime error; the other three are legal, but they
do the wrong thing.</font><br />
