title: Separating dictionary into smaller dictionaries
body: <p>I have a dictionary and want to divide it into smaller dictionaries, for example for: </p>
  
  <pre><code>dic = {1:(2,6), 3:(4,5)}
  </code></pre>
  
  <p>I want to loop it and have a "current" dictionary <code>current = {1:2, 3:4}</code> for first iteration, and current <code>{1:6, 3:5}</code> for the second iteration. Here's what I've tried (and doesn't work):</p>
  
  <pre><code>dic = {1:(2,6), 3:(4,5)}
  
  for i in range (0,1):
      for key in dic:
          current = {}
          current[key] = dic[key][i]
      print (current)
  </code></pre>
  
  <p>this outputs <code>{3:4}</code> and <code>{3:5}</code>, it skips the key "1" for some reason. How do i fix this?</p>
  
  <p>Also, how do I find the number of the values of the keys assuming every key has equal number of values? e.g. for <code>{2:[3,4,5,7], 3:[1,0,3,1]}</code> that would be 4.</p>