Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Master Python Data Structures: Lists, Tuples & Dictionaries
Rating: 4.9 out of 5(58 ratings)
251 students

Master Python Data Structures: Lists, Tuples & Dictionaries

Go beyond beginner Python and work with lists, tuples, sets & dictionaries like a pro
Last updated 11/2025
English

What you'll learn

  • You will be able to make better decisions when to use one of the 4 built-in container types by seeing their specific features
  • Work more efficiently with lists and tuples by practicing iteration, subscription and unpacking
  • The purpose of dictionaries and sets and their powerful operations
  • Common list operations that can be applied to one or more containers
  • Work with parts of lists by slicing them
  • Transform containers with mapping and filtering by using comprehensions

Course content

3 sections12 lectures2h 21m total length
  • Course Introduction6:21

    Explore Python lists at an intermediate level, with unpacking, slicing, and list comprehension, while comparing lists, tuples, dictionaries, and sets to write more efficient code.

  • MacOS: Install Python and Visual Studio Code (2024)5:30

    Install Python from python.org and set up Visual Studio Code on macOS, then write and run your first Python file using the terminal or the run button.

  • Windows: Install Python and Visual Studio Code (2024)5:00

    Install Python and Visual Studio Code on Windows, write your first Python file, and run it in the terminal to verify execution.

  • Containers introduction5:03

    Explore Python's four built-in containers—lists, tuples, dictionaries, and sets—and learn their unique properties, including iteration, adding or removing elements, and read-only behavior.

Requirements

  • Beginner understanding of programming (calculate, variables, loops) in Python or another language
  • You have Python installed and can execute programs

Description

This course shows you exactly what every developer should know about Python lists beyond the beginner stage. You’ll strengthen and deepen your understanding of Python’s core data structures: lists, tuples, dictionaries, and sets, and build real confidence using them in practical code.

Throughout the course, you’ll learn useful tips, discover Pythonic techniques, and work through many hands-on exercises that help you practice the most common and important data-structure tasks.

Target audience

Developers who especially benefit from this course, are:

  • beginning programmers with ~6 months Python experience who want to take their coding skills to the next level

  • developers who bring experience from another programming language and want to learn how to work with lists in Python

  • self-taught Python developers who want to improve their list skills by learning best practices

Challenges

Students that are interested in this course often know basic list features but are not yet aware of Python’s unique language features that allows to write more optimized code. This can lead to verbose or slow code. It is my goal to teach you up-to-date, preferred ways to work with lists in Python and make your code readable, predictable and elegant.

What can you do after this course?

  • Make better decisions when to use one of the 4 built-in container types by seeing their specific features.

  • Work with lists more efficiently by using Python-specific language features like unpacking, slicing and comprehensions.

  • Optimize your existing code after learning that Python offers many built-in common list operations.

Topics

  • What is a Container? Container definition and the 4 built-in container types in Python.

  • Lists: Create and change lists. Accessing elements, reverse, sort, count elements.

  • Tuples: Create and unpack, assign, swap variables, tuples as return type.

  • Dictionaries: Dictionary purpose, keys, lookup, iterate.

  • Sets: Set purpose, mathematical operations, superset, subset.

  • Common operations: Zip, enumerate, all, any, concatenate, check if element is in list.

  • Slicing: Slice, head, tail, init, last.

  • Comprehensions: Mapping, filtering, flatten, matrix.

Duration

2 hours video time, ~6 hours including practicing exercises.

The teacher

This course is taught by Loek van den Ouweland, a senior software engineer with 25 years of professional experience. Loek is the creator of Wunderlist for windows, Microsoft To-do and Mahjong for Windows and loves to teach software engineering.

Who this course is for:

  • beginning programmers with ~6 months Python experience who want to take their coding skills to the next level
  • developers who bring experience from another programming language and want to learn how to work with lists in Python
  • self-taught Python developers who want to improve their list skills by learning best practices