title: Python getting input for test cases in competitive coding
body: <p>How do I take input for T test cases with N values in a list.</p>
  <p>Where T is the number of test cases and N is the length of inputs to be taken into a list</p>
  <pre><code>3
  3
  2 2 2
  3
  1 2 3
  4
  2 3 4 5
  </code></pre>
  <p>I want to get out the lists to work on them like:</p>
  <pre><code>[2, 2, 2]
  [1, 2, 3]
  [2, 3, 4, 5]
  </code></pre>