title: Separate items from a list of random numbers in a new list
body: <p>I have a list of 1000 random numbers in the interval [1, 12] and I'm looking for a way to separate them in  other lists such that I get new lists only with 1's, other with only 2's, and so on.</p>
  
  <p>My Python code to generate the list is:</p>
  
  <pre><code>A=[]
  for x in range(1,1001):
      A.append(random.randint(2, 12))
  print A
  </code></pre>