title: Why do you have to call .items() when iterating over a dictionary in Python?
body: <p>Why do you have to call <a href="https://docs.python.org/library/stdtypes.html#dict.items" rel="nofollow noreferrer"><code>items()</code></a> to iterate over key, value pairs in a dictionary? ie.</p>
  
  <pre><code>dic = {'one': '1', 'two': '2'}
  for k, v in dic.items():
      print(k, v)
  </code></pre>
  
  <p>Why isn't that the default behavior of iterating over a dictionary</p>
  
  <pre><code>for k, v in dic:
      print(k, v)
  </code></pre>