Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Challenge: Identify Top-Performing Content | Analyzing and Visualizing Audience Data
Practice
Projects
Quizzes & Challenges
Вікторини
Challenges
/
Python for Content Creators
Секція 2. Розділ 3
single

single

bookChallenge: Identify Top-Performing Content

Свайпніть щоб показати меню

Identifying your top-performing content is crucial for refining your strategy and maximizing your impact as a content creator. By quickly surfacing posts that generate the most engagement, you gain actionable insights into what resonates with your audience. This allows you to focus your efforts on creating more of what works, experiment with new ideas, and allocate resources more effectively. In this challenge, you will use Python to analyze a hardcoded dataset of content performance and pinpoint the three posts with the highest combined engagement, empowering you to make smarter content decisions.

Завдання

Swipe to start coding

Implement a function that identifies the top 3 content posts with the highest engagement from a hardcoded list of content data. Engagement is defined as the sum of views and likes for each post.

  • Calculate the engagement for each post by adding its views and likes.
  • Sort the posts in descending order based on their engagement.
  • Return the top 3 posts with the highest engagement.

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 2. Розділ 3
single

single

Запитати АІ

expand

Запитати АІ

ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

some-alt