Python Quizzes

Check your Python learning progress and take your skills to the next level with Real Python’s interactive quizzes.

Real Python Quizzes

We created these online Python quizzes as a fun way for you to check your learning progress and to test your skills.

Each quiz takes you through a series of questions. Some of them are multiple choice, some will ask you to type in an answer, and some will require you to write actual Python code. As you make your way through each quiz, it keeps score of which questions you answered correctly.

At the end of each quiz you receive a grade based on your result. If you don’t score 100% on your first try—don’t fret! These quizzes are meant to challenge you and it’s expected that you go through them several times, improving your score with each run.

All of these quizzes were created by professional Python developers with years of experience to ensure you’re learning the skills and techniques that really matter.

Browse Python Quizzes

Ready to test your Python skills? Pick a quiz and jump right in:

Basic Data Types

Basic Data Types Quiz

Test your understanding of the basic data types that are built into Python, like numbers, strings, and Booleans.

» View Quiz
Python Concurrency

Python Concurrency Quiz

This is a quiz that will review topics covered in our Speed Up Your Python Program With Concurrency tutorial.

» View Quiz
Python Conditional Statements

Python Conditional Statements Quiz

Test your understanding of Python conditional statements

» View Quiz
Python Dictionaries

Python Dictionaries Quiz

Test your understanding of Python dictionaries

» View Quiz
Python Lists and Tuples

Python Lists and Tuples Quiz

Test your understanding of Python lists and tuples.

» View Quiz
Python Operators and Expressions

Python Operators and Expressions Quiz

Test your understanding of Python variables and object references.

» View Quiz
Python Program Structure

Python Program Structure Quiz

Test your understanding of Python program structure.

» View Quiz
Python Sets

Python Sets Quiz

Test your understanding of Python sets

» View Quiz
Python Strings and Character Data

Python Strings and Character Data Quiz

Test your understanding of Python strings and character data.

» View Quiz
Python Variables

Python Variables Quiz

Test your understanding of Python variables and object references.

» View Quiz
Python "while" Loops

Python "while" Loops Quiz

Test your understanding of Python while loops

» View Quiz
Reading and Writing CSV Files in Python

Reading and Writing CSV Files in Python Quiz

This quiz will check your understanding of what a CSV file is and the different ways to read and write to them in Python.

» View Quiz
Rounding Numbers in Python

Rounding Numbers in Python Quiz

Test your knowledge of rounding numbers in Python.

» View Quiz
Splitting, Concatenating, and Joining Strings in Python

Splitting, Concatenating, and Joining Strings in Python Quiz

In this quiz, you can test your Python skills when it comes to the most fundamental string operations: splitting, concatenating, and joining.

» View Quiz

Got feedback on our Python quizzes?

Browse the Latest Tutorials »