← Courses

Python for AI — Beginner Foundations

Data Science

Libraries & APIs · Lesson 54 of 76

Working with data

Real data is usually a list of records, where each record is a dict. This is exactly the shape you get from files and APIs — and how data work begins.

Python

Filtering, summing, and grouping records like this is the everyday work of data analysis — and the foundation the AI tracks build on.

Your turn: print the name of the student with the highest score (hint: max(students, key=lambda s: s["score"])).

You’re reading for free. Sign in to keep your progress and earn a certificate when you finish.Sign in to keep my progress →