Python Practice
Free Python practice problems with instant grading and no sign-up. Practice that follows the contents of the books, plus coding test practice graded by hidden tests. Python runs in this browser, and your progress is saved only in this browser.
AI ERA SERIES 01
Python Basics
A first Python course for complete beginners
Problems follow the contents chapter by chapter and section by section. There are four question types (predict the output, fill in the blanks, write code, and code review), and Python in your browser checks your answer right away.
258 problems (99 predict the output, 26 fill in the blanks, 87 write code, 46 code review)
AI ERA SERIES 02
Python Data Visualization
From one chart to a dashboard
Chapters 1–9 and 11. The first time you open a problem, your browser downloads the plotting libraries (matplotlib, pandas, seaborn, about 20 MB) once. Problems that use Plotly also download Plotly (about 10 MB).
121 problems (16 predict the output, 17 fill in the blanks, 63 write code, 25 code review)
CODING TESTS
Python Coding Tests
Function problems graded by hidden tests
If you have learned chapters 1–8 of Python Basics (strings, lists, dictionaries and sets, loops, functions), you can solve chapters 1–10. Chapter 9 introduces recursion from the start. You can also take a timed mock exam, including mock sets with fixed problems and time limits.
66 problems