SyntaxFix
Write A Post
Hire A Developer
Questions
Kind of pythonic way:
c = [x for x in a if a.index(x) in b]