I have a list of dict for example,
[{'id': 1L, 'name': u'Library'}, {'id': 2L, 'name': u'Arts'}, {'id': 3L, 'name': u'Sports'}]
Now, I have to retrieve the following list from this dict without using list comprehension
[u'Library', u'Arts', u'Sports']
Is there any way to achieve this in python? I saw many similar questions, but all answers were using list comprehension.
Any suggestion is appreciated. Thanks in advance.