Untimed practice sets. Take one here, or find them embedded right inside a course's concepts.
Pick a subject to see its topics.
Questions in the style of the PCAP exam (Python Institute, PCAP-31-03) on strings, exceptions in functions, list comprehensions, lambdas and closures, map and filter, generators, and reading and writing files. Each is a short program: predict what it prints, or find the bug. Every answer is worked out.
Questions in the style of the PCAP exam (Python Institute, PCAP-31-03) on modules and packages, exceptions, and object-oriented programming: class and instance variables, inheritance and the MRO, super(), special methods and introspection. Each is a short program: predict what it prints, or find the bug. Every answer is worked out.
Ten questions on comprehensions, iterators and generators. One asks you to find a mistake.
Ten questions on text files, CSV and JSON. One asks you to find a mistake.
Ten questions on inheritance, overriding, special methods and composition. One asks you to find a mistake.
Ten questions on classes, objects, self, attributes and methods. One asks you to find a mistake.
Ten questions on split, join, cleaning text and simple codes. One asks you to find a mistake.
Ten questions on import, math, random and statistics. One asks you to find a mistake.