title: python function that creates HTML for a row containing two cells
body: <p>I'm looking to write a function in python that accepts a dictionary and a single key as parameters in order to create HTML for a row containing two cells. I'd like the cells to contain a key/value pair from the dictionary. </p>
  
  <p>the dictionary - </p>
  
  <pre><code>d = {'year':1999, 'director':'Mike Judge', 'title':'Office Space'}
  </code></pre>
  
  <p>my guess at what the function might look like;</p>
  
  <pre><code>def makeHTMLRow(d, 'title'):
  s = &lt;table border ="1"&gt;\n
  s = s + "&lt;tr&gt;\n"
  s = s + "\t&lt;td&gt; row 1, cell 1&lt;/td&gt;\n"
  s = s + "\t&lt;td&gt; row 1, cell 2&lt;/td&gt;\n"
  s = s + "&lt;/tr&gt;"
  s = s + "&lt;tr&gt;\n"
  s = s + "\t&lt;td&gt; row 2, cell 1&lt;/td&gt;\n"
  </code></pre>
  
  <p>Is this the right direction to go in?</p>
  
  <p>I'd like to use my Python  code on Google App Engine, which is why I'm writing HTML in Python.</p>