Our website uses cookies. By using this website, you agree to their use in accordance with the browser settings. You can modify your browser settings on your own. For more information see our Privacy Policy.



Python Data Structures in Practice

Learn to use top Python data structures and write a real Python game!

Table of contents

Lifetime access


limited to this course only


Buy now

Want a better deal?


Get unlimited lifetime access to all 13 present and future courses

Save $220

Unlimited lifetime access


to all 13 present and future courses

$ 129

$ 349

63% OFF

Buy now Full pricing

Interactive exercises

24 h

Estimated time


Users enrolled


3 ratings

In recent years, Python has become one of the big programming languages used by the vast majority of IT specialists. It is now one of the most frequently taught programming languages at universities all around the world (alongside Java and C++). It is also the top language for fields such as artificial intelligence, machine learning, scripting, and data science. Software engineers, system administrators, academics, and data scientists all use Python now!

Python Data Structures in Practice will teach you how to solve fundamental programming problems with basic data structures. This course is ideal for anyone who wants to gain practical knowledge of Python or prepare for a coding interview.

Course cover image. A cartoon man sitting at a desk looking at code. Various code symbols floating around

Python Data Structures in Practice is a course for those students who know the theory behind basic data structures—lists, dictionaries, tuples, and sets—but want to learn how they can put that knowledge into practice. In this course, we analyze the typical use cases for each of the four data structures and present optimal solutions to typical problems. This course is ideal for anyone who wants to become a seasoned software developer and for any Python beginner who knows the theory but is looking for practical experience. We devoted a separate part to each data structure: lists, dictionaries, tuples, and sets.

There is also an additional part about nested lists, which are commonly used in daily practice. They can be of great help in a wide range of situations—for instance, you can use them to represent 2D images, tabular data, or virtual game boards. Speaking of game boards, we’ve also prepared something special at the end of the course: a Python project in which you’ll write an actual PC game! The project will help you understand how data structures can be used to create real-world applications. The game you’ll create will be just one practical usage example, but the skills you’ll acquire along the way will certainly help you write better Python applications of any kind.

You don’t need to be a computer science graduate to complete this course. The only prerequisite is some theoretical Python concepts, which you can master with our Python Basics series or learn on your own. In our course, you’ll find intuitive explanations, lots of practical examples, and, most importantly, interactive exercises that can be solved in your web browser! Additionally, the course comes with concise summaries at the end of each part, followed by short quizzes.

Start the course now to expand your Python skill set!

What's in It for Me?

  • 118 interactive exercises. Learn at your own place, from anywhere and anytime. Interact with hands-on exercises for improved retention.
  • Lifetime access to the course. When you purchase the course, you'll get instant personal access to all of its content.
  • Certificate of completion. After you successfully finish all of the exercises, you'll get a downloadable PDF certificate to showcase your accomplishment.
  • 30-day money back guarantee. If you're not satisfied with the quality of the course, you can get a refund within 30 days of your purchase.
  • Hints for the exercises. You can ask questions and share insights with other members of our community through the Discuss tab.

What Are the Requirements?

  • A basic understanding of lists, dictionaries, sets, and tuples in Python.
  • Any web browser and an Internet connection.

Learn How to Work with:

  • Lists: iterate over lists, compute list statistics, safely modify and delete elements, change the order of elements, and compare two lists with identical or different sizes.
  • Nested lists: create nested lists, access single elements, iterate over nested lists, calculate statistics for nested lists, modify elements, create a game board representation, copy nested lists, and transpose and rotate nested lists.
  • Tuples: return tuples from functions, unpack tuples and ignore certain tuple elements, represent real-world objects and states/positions with tuples, navigate lists of tuples, and use the zip() functions.
  • Dictionaries: iterate over keys/values, iterate over both keys and values, count elements with dictionaries, use the get() function, work with tuples as dictionary keys, group with dictionaries, and link with dictionaries.
  • Sets: create sets from lists, delete list duplicates with sets, broaden the knowledge of Python set operations, i.e. combine multiple set operators, and simulate state machines.

Who Should Take This Course?

  • Students who have completed Part 1, Part 2, and Part 3 of our Python Basics series or have equivalent knowledge.
  • Students taking entry-level classes in Python.
  • Academics who want to leverage Python in their fields of study.
  • Professionals dealing with Python.
  • Anyone who wants to use data structures in real-world projects.
  • Anyone interested in starting a software development career.
  • Junior programmers preparing for a coding interview.

Table of contents


Paid content


Course progress


Exercises completed

Reviews (1)

Average rating

5.00 / 5


3 ratings


5 stars


4 stars


3 stars


2 stars


1 stars