title: filling an array with a loop in python
body: <p>my problem is as follows, i have an array named <code>crave=['word1','word2','word3'....'wordx']</code> and i want to transform into <code>ITEM=[['word1','word2','word3'],['word4','word5','word6'] etc]</code> 
  i used the following code </p>
  
  <pre><code>buff=[['none','none','none']]
  n=10
  ITEM=[]
  i=0
  while 1&gt;0 :
  
  
   buff[0][0]=crave[i]
   buff[0][1]=crave[i+1]
   buff[0][2]=crave[i+2]
   ITEM.insert(len(ITEM),buff[0])
   i=i+3
   if i&gt;n:
        break
  </code></pre>
  
  <p>but what i get instead is <code>[['wordx-2','wordx-1','wordx'],['wordx-2','wordx-1','wordx'],['wordx-2','wordx-1','wordx']etc]</code>
  why does this happen ?:(</p>