title: How to get two random numbers from a list of lists?
body: <p>When I tried to generate two random numbers from lists of list and the two random numbers should be from two different lists in a list, I got two elements from the same list in a lists of list.</p>
  
  <p>Example: </p>
  
  <pre><code>list1 = [[1,2,],[3,4],[5,6]]
  import random
  random.choice(random.sample(l,2))
  output = [5, 6]
  </code></pre>
  
  <p>and </p>
  
  <pre><code>for random.sample(random.choice(l),2)
  output = [2, 1]
  </code></pre>