Python Exam Study Guide
Nine topic guides covering everything tested on Python exams and technical interviews. Code examples, exam traps, and tips throughout.
Test your Python knowledge →Free · No sign-upPython Functions Explained — Arguments, Return Values & Scope
Functions are the backbone of every Python program. Here's what exams actually test — from default argument traps to how *args and **kwargs work.
Python Lists — Slicing, Methods & List Comprehensions Explained
Lists are the most-tested Python data structure. Here's what exams focus on — slicing syntax, mutating methods, and comprehensions.
Python Dictionaries Explained — Methods, Iteration & Common Traps
Dictionaries are tested heavily in Python exams. Here's what you need to know — from key access to comprehensions to common gotchas.
Python Loops Explained — for, while, enumerate, zip & break/continue
Loops are fundamental and heavily tested. Here's what Python exams actually ask — from range() to enumerate() to the loop else clause.
Python Classes and OOP Explained — __init__, Inheritance & Methods
Object-oriented programming is a major exam topic. Here's what you actually need to know — from __init__ to inheritance to dunder methods.
Python Error Handling — try/except/else/finally with Code Examples
Error handling is tested on every Python exam. Here's the full picture — what each clause does, when to use it, and the traps to avoid.
Python String Methods — Complete Reference with Code Examples
Strings are immutable and full of useful methods. Here's what Python exams test — from slicing to f-strings to the most common string methods.
Python Modules and Imports Explained — import, from, __name__
Imports and modules are tested more than most people study them. Here's what you need to know — from import syntax to __name__ to packages.
Python File I/O Explained — open(), read, write & Context Managers
File I/O is straightforward once you know the patterns. Here's what exams test — file modes, reading methods, and the with statement.
Ready to prove it?
Take the free Python readiness test. Get a score from 0–100, a topic breakdown, and your exact weak areas — in under 20 minutes.
Take the free Python test →Free · No sign-up · Instant results