title: Erlang: Printing out specific value in list
body: <p>If I have a list for example:</p>
  
  <pre><code>[{list1, [1,2]},{list2, [3,4]}]
  </code></pre>
  
  <p>How would I print out [3,4] using io:format if this is passed in as a variable, for example I.</p>
  
  <p>I'm currently doing:</p>
  
  <pre><code>io:format("list 2: ~w~n", [I]),
  </code></pre>