I have a list of tuples looking like this:
[(5, 0, 1, 8), (5, 0, 1, 14, 15), (5, 0, 1, 14, 16)]
I also have a dictionary that is in the form:
{0: [], 1: [], 2: [], 3: [], 4: [], 5: ['CVE-2016-3379'], 7: ['CVE-2016-3646'], 8: [], 9: ['CVE-2015-1769'], 10: ['CVE-2016-3364', 'CVE-2016-7193', 'CVE-2016-3363'], 14: [], 15: ['CVE-2015-1769'], 16: ['CVE-2016-3363', 'CVE-2016-7193', 'CVE-2016-3364'], 17: [], 18: [], 19: [], 20: [], 21: ['CVE-2015-1769'], 22: ['CVE-2016-3363', 'CVE-2016-7193', 'CVE-2016-3364'], 26: [], 27: [], 28: [], 29: [], 30: [], 32: []}
How can I update the values in the first list with the values from the dictionary?
I want 5 for example to become 5: ['CVE-2016-3379'], 0 to become 0: [] etc.