I have a list that looks like this:
l1 = [\'200:200\', \'90:728\']
I have a dictionary that looks like this:
d1 = {\'200:20
Not sure about each solution performance, but I would do:
{k: v for k, v in d1.items() if k in l1}