1👍
✅
That depends on how you want to store each triple values. For example, you can store them in a python dictionary :
links = [{'text': link.text,
'href': link.get('href'),
'src': link.get('src')
} for link in a_links]
which later can be accessed using the dictionary key :
for link in links:
print link['text'], link['href'], link['src']
Source:stackexchange.com