title: Print a dictionary into a table
body: <p>I have a dictionary:</p>
  
  <pre><code>dic={'Tim':3, 'Kate':2}
  </code></pre>
  
  <p>I would like to output it as:</p>
  
  <pre><code>Name Age
  Tim 3
  Kate 2
  </code></pre>
  
  <p>Is it a good way to first <a href="https://stackoverflow.com/q/29264845/156458">convert them into a list of dictionaries,</a> </p>
  
  <pre><code>lst = [{'Name':'Tim', 'Age':3}, {'Name':'Kate', 'Age':2}]
  </code></pre>
  
  <p>and then write them into a table, by the method in <a href="https://stackoverflow.com/a/10373268/156458">https://stackoverflow.com/a/10373268/156458</a>?</p>
  
  <p>Or is there a way better in some sense? </p>