Here\'s a simple version of the code I\'m trying to achieve:
for key, value in data.items(): for key2, value2 in data.items(): # other stuff