Loading PyCodeIt workspace...
Master Python dry-runs and trace tables line by line, or write and verify SQL queries against live in-browser databases. Built specifically for technical phone screens and coding assessments.
Analyze and dry-run decorators, mutable defaults, variable scopes, closures, and loops to predict console stdout.
Interactive Curriculum
Run Python trace problems and SQL queries without installing anything. The Python track uses a frame-by-frame simulator; the SQL track uses a WebAssembly SQLite engine with real HR, e-commerce, and competition table data.
Connect your own Gemini, Groq, or OpenRouter API key and get graded feedback on both Python submissions and SQL queries. Every evaluation includes a step-by-step explanation of the correct answer.
Follow topic-by-topic tracks for Python from basics through decorators, and SQL from SELECT fundamentals through window functions and CTEs. Earn XP, build streaks, and track your progress on the leaderboard.
Loading interactive sandbox engine...
Everything you need to know about practicing on PyCodeIt.