title: Looping over a dictionary without first and last element
body: <p>I would like to know how I can loop over a Python dictionary without first and last element. My keys doesn't start at 1 so I can't use len(capitals)</p>
  
  <pre><code>&gt;&gt;&gt; capitals = {'15':'Paris', '16':'New York', '17':'Berlin', '18':'Brasilia', '19':'Moscou'}
  &gt;&gt;&gt; for city in capitals:
  &gt;&gt;&gt;     print(city)
  Paris
  New York
  Berlin
  Brasilia
  Moscou
  </code></pre>
  
  <p>I would like this result:</p>
  
  <pre><code>New York
  Berlin
  Brasilia
  </code></pre>
  
  <p>My keys doesn't start at 1 so I can't use <code>len(capitals)</code></p>