KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Let's say i have a multidimensional list l: l = [['a', 1],['b', 2],['c', 3],['a', 4]] and I want to return another list consisting only of the rows that has 'a' in their first list element: m = [['a', 1],['a', 4]] What's a good and efficient way of doing this?
Tags (comma-separated)
Save Edits
Cancel