title: Python(3), Loop over tuple and use string format to display
body: <p>My homework assignment is to Loop over ((1, 1), (2, 2), (12, 13), (4, 4)) and use string formatting to display this tuple as:</p>
  
  <pre><code>1 = 1 x 1  
  4 = 2 x 2
  156 = 12 x 13 
  16 = 4 x 4
  </code></pre>
  
  <p>while also preserving the spacing.</p>
  
  <p>What I have so far:</p>
  
  <pre><code>d = ((1,1), (2,2), (12,13), (4,4))
  for a, b in d:
      print("{0} = {1}".format(a* b, d))
  </code></pre>
  
  <p>Which gives me:</p>
  
  <pre><code>1 = ((1, 1), (2, 2), (12, 13), (4, 4))
  4 = ((1, 1), (2, 2), (12, 13), (4, 4))
  156 = ((1, 1), (2, 2), (12, 13), (4, 4))
  16 = ((1, 1), (2, 2), (12, 13), (4, 4))
  </code></pre>
  
  <p>So it seems to me that I am getting close. But I have run out of ideas to get the right side of the equation into the correct format.  Any ideas would be greatly appreciated.</p>