title: Formatting output as table
body: <p>Example input:</p>
  
  <pre><code>[('b', 'c', 4),
  ('l', 'r', 5),
  ('i', 'a', 6),
  ('c', 't', 7),
  ('a', '$', 8),
  ('n', '$', 9)]
  </code></pre>
  
  <p>[0] contains the vertical heading, [1] contains the horizontal heading.</p>
  
  <p>Example output:</p>
  
  <pre><code>  c r a t $ $
  b 4  
  l   5
  i     6
  c       7
  a         8
  n           9
  </code></pre>
  
  <p>Note: given enough tuples the entire table could be filled :P</p>
  
  <p><strong>How do I format output as a table in Python using [preferably] one line of code?</strong></p>