Identifying Content Decay
📖 Scenario: You manage a website with many articles. Over time, some articles lose visitors because their information becomes outdated or less relevant. This is called content decay.To keep your website healthy, you want to find which articles have lost visitors recently so you can update them.
🎯 Goal: You will create a simple data structure to hold article visitor counts over two months. Then, you will identify articles that lost visitors from the first month to the second month. Finally, you will mark those articles as needing updates.
📋 What You'll Learn
Create a dictionary named
articles with article titles as keys and their visitor counts for the first month as values.Create a dictionary named
new_visitors with the same article titles as keys and visitor counts for the second month as values.Create a list named
decayed_articles that contains titles of articles where visitors decreased from the first to the second month.Create a dictionary named
update_status that marks each article as true if it has content decay, otherwise false.💡 Why This Matters
🌍 Real World
Website managers track visitor numbers to keep content fresh and relevant. Identifying content decay helps prioritize updates to maintain or improve search rankings and user engagement.
💼 Career
SEO specialists and content managers use these techniques to monitor website health and improve content strategy.
Progress0 / 4 steps