SyntaxFix
Write A Post
Hire A Developer
Questions
Bounds checked:
[a[index] for index in (1,2,5,20) if 0 <= index < len(a)] # [11, 12, 15]