title: how to create a list of lists using list comprehension
body: <p>I want to create a list of lists using list comprehension.
  ex 
  [range(3),range(3),range(3)]
  i.e all possible coordinates of a 3d system from 0 to 3
  How to do this using only list comprehension and nothing else</p>
  
  <p>I tried doing</p>
  
  <pre><code>coordinates=[x for x in range(3)[y for y in range(3)[z for z in range(3)]]]
  </code></pre>