Search⌘ K
AI Features

Exercise: Extracting Toppers From a Student Record

Explore how to filter student records to find those with grades above 80% using Python's functional programming tools or list comprehensions. This exercise helps you apply filtering techniques to real data structures like lists of dictionaries, strengthening your understanding of Python's advanced data processing capabilities.

We'll cover the following...

Problem statement

You have been provided with different grades lists which are all lists of dictionaries, containing the name of the student and the grade percent that they achieved. Here’s an example list:

grades = [
   {"name":
...