Please see the below image for reference:
>>> for key in d: ... for item in d[key]: ... print key, ':', item 1 : 2 1 : 3 2 : 4 2 : 5