simple python list problem
<p>According to the docs:</p>

<pre><code>list.append(x): Add an item to the end of the list
</code></pre>

<p>So, if I do:</p>

<pre><code>list = []
list.append("banana")
print list[0] --&gt; which is suppose to print the FIRST item of the list
&gt; banana
</code></pre>

<p>So far so good, however if now I append another item:</p>

<pre><code>list.append("apple")
print list[0]
</code></pre>

<blockquote>
  <p>apple</p>
</blockquote>

<p>Wasn't it suppose to append to the END of the list? How do I keep the order of the list when appending? How should I print the first and last items of the list -- in the order they were added to it?</p>

<p>Thanks</p>
