A compact personal repository focused on the Python Institute PCEP exam — clean examples, explanations, and runnable exercises.
- core syntax: variables, literals, operators, control flow
- conditions, loops, short-circuit evaluation
- lists, tuples, dicts, sets, strings
- sequence behavior and negative indexing
- functions, scope, parameters, and reusable patterns
- file handling and print/input demos
- numeric literals, bitwise, modulus, exponentiation, octal/hexa
- defensive error handling patterns and rules
- basics and how
@works - best practices and
functools.wraps - decorators with arguments and real examples
- essential built-ins like
len,lambda, comprehensions - protocols (
__len__, iteration) and common pitfalls
- multiple assignment patterns and unpacking
- progressive practice problems
- concepts and quick-reference documents
Cover all topics required for the PCEP exam in a clean, review-friendly structure. Advanced Python topics and PCAP-level material live in a separate repository.
Last updated: 2026-01-11
PCEP questions are full of traps and caveats, but spotting them is key to mastering the material.
I aim to pass within two attempts. While the initial course took two months to complete, I am still finding new 'tricky' questions. I plan to spend another two months practicing with this repo.
Personally, I found that the official pre-PCEP course isn't sufficient for the exam, but your mileage may vary. I also estimate that only about 30% of test-takers use a voucher on their first try — I'd love to see the actual data on this.
All files are self-contained and runnable. Open, read, run.
⭐ Star this repo if you find this info useful.