🏠 Home
Benchmark Hub
📊 All Benchmarks 🦖 Dinosaur v1 🦖 Dinosaur v2 ✅ To-Do List Applications 🎨 Creative Free Pages 🎯 FSACB - Ultimate Showcase 🌍 Translation Benchmark
Models
🏆 Top 10 Models 🆓 Free Models 📋 All Models ⚙️ Kilo Code
Resources
💬 Prompts Library 📖 AI Glossary 🔗 Useful Links
medium

Python List Filtering

#python #coding #scripting

Create a Python script to filter a list of dictionaries based on specific criteria.

Given a list of employee dictionaries with keys 'name', 'department', and 'salary', write a Python list comprehension that creates a new list containing only the names of employees in the 'Sales' department who earn more than 50000.