title: Print the dict with “key: value” pairs in a for loop
body: <p>I want to iterate through the dict, <code>spam</code>, and print the result in the format of <code>"key: value"</code>. There’s something wrong with my code that’s producing a different result. </p>
  
  <p>Is there any ways of correcting the output? And why I’m I getting this output?</p>
  
  <pre><code>spam = {'color': 'red', 'age': '42', 'planet of origin': 'mars'}
  
  for k in spam.keys():
      print(str(k) + ': ' + str(spam.values()))
  </code></pre>
  
  <p>The result in getting:</p>
  
  <pre><code>color: dict_values(['red', '42', 'mars'])
  age: dict_values(['red', '42', 'mars'])
  planet of origin: dict_values(['red', '42', 'mars'])
  </code></pre>
  
  <p>The expected result:</p>
  
  <pre><code>color: red
  age: 42
  planet of origin: mars
  </code></pre>