SyntaxFix
Write A Post
Hire A Developer
Questions
d = {1:2, 3:4, 5:6, 7:8}
l = (1,5)
{key: d[key] for key in l}