Python quizzes
Readable, general-purpose and the default language of data work.
Practise Python with short quizzes that mix concept checks, code reading and debugging, from beginner to expert level. Written against Python 3.10+.
Python quiz levels
Difficulty rises through concepts (code reading, debugging, edge cases, trade-offs), not through trick wording.
- Beginner
Core vocabulary and fundamentals.
- Python Basics · 7 questions
- Intermediate
Concepts applied to real problems.
- Lists, Tuples, Sets & Dicts · 7 questions
- Python Functions · 7 questions
- Python Debug Lab · 5 activities
- Advanced
Edge cases, internals and trade-offs.
- Advanced Python · 7 questions
- Expert
Production scenarios and interview depth.
- Python Interview Questions · 7 questions
Topics covered in the Python quizzes
Every topic below appears in at least one question today. The number is how many questions cover it.
- Strings · 4
- Decorators · 2
- Dictionaries · 2
- Generators · 2
- Operators · 2
- Scope · 2
- Sets · 2
- Arguments · 1
- Classes · 1
- Closures · 1
- Concurrency · 1
- Context managers · 1
- Copying · 1
- Dataclasses · 1
- Default arguments · 1
- File handling · 1
- Functional · 1
- Identity · 1
- Iteration · 1
- Lambda · 1
- Lists · 1
- Methods · 1
- Return values · 1
- Truthiness · 1
- Tuples · 1
- Variables · 1
How this works
Practice or exam mode
Practice mode explains each answer straight away. Exam mode holds all answers until you finish, then shows a full review.
Shuffled answer order
Options are shuffled on every attempt, so you learn the idea rather than the position of the right letter.
Timer, flags and skips
A timer runs while you play. Flag questions to revisit them, or skip and come back from the question navigator.
Saved on your device
Scores, streaks and topic accuracy are stored in your browser only. There is no account.
Learn Python first, or keep going
Python Quiz Preparation: A Practical Guide to Python MCQs
How Python multiple-choice questions are usually built, the traps that catch most learners, and a study routine that uses practice and exam-mode quizzes effectively.
ArticlePython Functions Explained: Arguments, Scope and Common Traps
A practical tour of how Python functions receive arguments, resolve variable names and hold on to state, with the mistakes that catch most learners.
Related technologyJava quizzes
Strongly typed, object-oriented and everywhere in enterprise and Android.
Related technologyJavaScript quizzes
The language of the browser, and increasingly everything else.
Python quiz FAQ
How many Python quizzes are there?
There are currently 5 multiple-choice Python quizzes with 35 questions in total, plus 1 interactive challenge. The numbers on this page come from the live quiz catalogue.
Which Python quiz should I start with?
Start with Python Basics, the beginner-level quiz. Then work up through Intermediate, Advanced, Expert.
Are the Python quizzes free?
Yes. There is no sign-up. Your scores and streaks are stored in your own browser.
Do the Python quizzes explain the answers?
Yes. Every question has an explanation covering why the right answer is correct and why the tempting alternatives are not.
Which Python version do the quizzes assume?
Python 3.10 or newer. Where behaviour differs between versions, the explanation says so.
I am new to programming. Where should I start?
Start with Python Basics, then move to Functions and Collections.
Are these quizzes good for Data Science interviews?
Yes. Understanding how lists, tuples, and dictionaries work under the hood is critical for data science roles. The advanced quizzes cover list comprehensions and generator expressions.
Is Python pass-by-value or pass-by-reference?
Python uses "pass-by-object-reference". Our advanced quizzes have specific questions explaining what happens when you mutate a list inside a function vs reassigning it.
Do you cover popular libraries like Pandas or NumPy?
Currently, these quizzes focus strictly on the Python standard library and language fundamentals. Library-specific quizzes are planned for the AI & Data category.