Python: print the dictionary elements which has multiple values assigned for each key
<p>I've got a dictionary like the one, below:</p>

<pre><code>{    "amplifier": ["t_audio"],
     "airbag": ["t_trigger"], 
     "trigger": ["t_sensor1", "t_sensor2"],  
     "hu": ["t_fused"], 
     "cam": ["t_front", "t_ldw", "t_left", "t_nivi", "t_rear_camera", "t_right"], 
     "video_screen": ["t_video"]    }
</code></pre>

<p>as you can see, there are some elements which have more than one value assigned for each key. I'd like to extract those values as string, separately within (preferably) a for loop then print them out. Printed result should be something like this:</p>

<pre><code>group(amplifier, t_audio)
group(airbag, t_trigger)
group(trigger, t_sensor1)
group(trigger, t_sensor2)
group(hu, t_fused)
group(cam, t_front)
group(cam, t_ldw)
...
...
</code></pre>

<p>I can easily perform this on a normal dictionary where each key has only one values but got almost confused about this one(sorry if I'm newbe to Python...). Any kind of help is appreciated on how to get this result.</p>

<pre><code>for k, v in mydict.iteritems():
    for vv in v:
        print "group(%s,%s)" % (k,vv)
        #or
        print "group(",k,",",vv,")"
        #or the python 3 format syntax
</code></pre>

python list dictionary