How to print dictionary values line by line in Python?
Solution 1:
# iterate the dictionary with the key and val at the same time
for key, val in res.items():
# print the key
print key
for x in val:
# iterate the list of the val and print all items
print x