title: Python Print The First Five elements of a dictionary
body: <p>I have a dictionary which the key are strings and the values are integers. im using a loop to print the an ordered vision of said dictionary. My code looks like this:</p>
  
  <pre><code>for k,v in sorted(my_dict.items(), key=operator.itemgetter(1)):
      print (k,v)
  </code></pre>
  
  <p>Which gives me an output like this:</p>
  
  <pre><code>Key Value
  </code></pre>
  
  <p>How can i print only the first five entries of this dictionary?</p>
  
  <p>Also, is it possible to separate the ouput to "A: 5" instead of "A 5"?</p>
  
  <p>Thanks!</p>