title: How to iterate over a dictionary with tuples?
body: <p>So,I need to iterate over a dictionary in python where the keys are a tuple and the values are integers.
  I only need to print out the keys and values.
  I tried this:</p>
  
  <p><code>for key,value in dict:</code></p>
  
  <p>but didn't work because it assigned the first element of the tuple to the key and value and the second to the value.</p>
  
  <p>So how should I do it?</p>