I am trying to bring in the links from a .txt file and store them in 'link\_name'. The problem is when the loop ends, it only stores the last link of the file in 'link\_name'. How do I store all the links into the variable while allowing them to be read separately? I was considering a list, but if that's the proper route, I am unsure how to implement it. Thanks for any help you can offer.

```
fr = open('links.txt', 'r')    
for link in fr:     
    link_name = link

fr.close()

print(link_name)

```