posts = []
#response = feedparser.parse(url)
# existing titles is equivalent to [x['title'] for x in posts]
existing_titles = []
for x in posts:
existing_titles.append(x['title'])
What is this code suppose to do? How to append elements to an empty list within an empty list? I have seen this stackoverflow above that puts the append in every value of list, but im not still quite understanding what this code does because of x['title'], since posts is empty