TalentJR

Lesson 12

Data Processing Basics

Collect and process data effectively

1Collecting Data✨

💻 code
numbers = []
for i in range(3):
    num = int(input("Enter number: "))
    numbers.append(num)

2Statistics🎯

💻 code
total = sum(numbers)
average = total / len(numbers)
highest = max(numbers)
lowest = min(numbers)

3Filtering Data💡

💻 code
numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9]
even = []
for num in numbers:
    if num % 2 == 0:
        even.append(num)  # [2, 4, 6, 8]

4Sorting🚀

💻 code
scores = [85, 92, 78, 95, 88]
scores.sort()  # [78, 85, 88, 92, 95]

5Real Example - Grade Processor🔍

💻 code
scores = []
for i in range(5):
    score = int(input(f"Score {i+1}: "))
    scores.append(score)
💻 code
print(f"Average: {sum(scores) / len(scores)}")
print(f"Highest: {max(scores)}")
print(f"Lowest: {min(scores)}")

🎯 Practice Challenges

Master Data Processing Basics by completing all 3 difficulty levels

🟢 EASY

Data Processing Basics - Easy Challenge

Start with the basics. Perfect for beginners!

🟡 MEDIUM

Data Processing Basics - Medium Challenge

Get more challenging. Build your confidence!

🔴 HARD

Data Processing Basics - Hard Challenge

Master this concept. Prove your skills!

🏆 Study a lesson for 2+ minutes to earn +10 TalentJR Points a day. Badges, certificates & prizes →

Ready to Master Data Processing Basics? 🚀

Complete the challenges, take the quiz and keep your learning streak going!