title: How can i print list of dict values, one value in list for each key
body: <p>I have a dict of this form...</p>
  
  <pre><code>d={'s1':{'a':[1,2,3],'b':[4,5,6]},'s2':{'d':[77,88,99],'e':[666,333,444]}}
  </code></pre>
  
  <p>so i want to print in this format</p>
  
  <pre><code>s1
  a, 1
  b,4
  s1
  
  s1
  a,2
  b,5
  s1
  
  s1
  a,3
  b,6
  s1
  
  s2
  d,77
  e,666
  s2
  
  s2
  d,88
  e,333
  s2
  
  s2
  d,99
  e,444
  s2
  </code></pre>
  
  <p>i tried in this method </p>
  
  <pre><code>for k,v in d.items():
      print k
      for key,val in v.items():
          print key,val[0] # But this v[0] should change and key also should changthat i am not getting for same loop
      print k
  </code></pre>
  
  <p>so i have to print main key for all values, where values is one more dict,in that dict each time i should print key for each list item
  can anyone help me thanks in  advance</p>