Python coding interview practice
50 test-checked Python exercises for the live-coding interview: comprehensions, generators, decorators and dataclasses, run in your browser with autocomplete. Free.
Topics
- Strings: 6 exercises
- Lists & Comprehensions: 8 exercises
- Dicts & Sets: 7 exercises
- Functions & Decorators: 6 exercises
- Iterators & Generators: 5 exercises
- Classes & Dataclasses: 6 exercises
- Errors & Context Managers: 4 exercises
- Practical: 8 exercises
Each exercise pairs a worked example with a twin problem to solve in a real editor; the tests run the moment you do. Progress is saved in your browser, and in your account if you sign in.