Python Practice Problems
Core Python for data manipulation and automation.
Python is one of the most frequently tested skills in data analyst, data engineer and data science interviews — Core Python for data manipulation and automation. Whether you're preparing for a timed technical screen or a take-home assignment, being able to write correct, efficient python under pressure is often what separates candidates who move forward from those who get filtered out early. That's exactly what this page is built for: a permanent, focused practice ground for python, not just another filter on a mixed list.
DataVix's Python problem set is organised into three difficulty tiers — Easy, Medium and Hard — so you can follow a structured practice roadmap instead of solving questions at random. Start with the 208 Easy problems to get comfortable with core syntax and concepts, move on to the 251 Medium problems once you're confident, and finish with the 122 Hard problems that mirror the trickiest real interview rounds. Every problem runs entirely in your browser with instant feedback, hints you can reveal one at a time, and — for enrolled students — a fully worked official solution, so you always know not just whether your answer was right, but why.
Solving Python problems repeatedly, rather than only reading about python, is what actually moves the needle on interview performance: interviewers are evaluating how you think under pressure, not just whether you can recite syntax. Our questions are modeled on real interview patterns reported at companies including Amazon, Google, Meta, Microsoft, Flipkart, TCS, so the practice you put in here transfers directly to the kind of prompts you'll actually be asked. Each problem also lists the topics and companies it's tagged with, so you can drill a specific weak spot — joins, window functions, string manipulation, whatever it may be — instead of solving everything in order.
Use the search, difficulty, topic and sort controls below to build your own python practice session, or work straight down the list from Easy to Hard. New problems are added regularly, and this page updates automatically the moment they go live — no need to keep checking a separate list.
No problems match your filters. Try clearing the search or a different category.