Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Data Structures in Python 3
New
17 students

Data Structures in Python 3

By CodeWithPurpose!
Last updated 8/2026
English

What you'll learn

  • Understand tuples, lists, dicts, and sets in Python, and know exactly when to use each one for cleaner, more efficient code.
  • Master built in list, dict, and set methods to add, remove, sort, filter, and transform data without writing extra code.
  • Handle errors like a professional using try, except, and custom exceptions so your programs fail gracefully instead of crashing.
  • Confidently loop through nested data structures, the kind you'll actually encounter in real world Python projects.

Course content

5 sections13 lectures30m total length
  • Introduction1:04

Requirements

  • No advanced math or prior data structures knowledge required. You should be comfortable with basic Python, variables, loops, functions, and conditionals. If you've completed a beginner Python course or written a few small scripts, you're ready for this one.

Description

Have you ever looked at someone's code and wondered how they managed to write something so clean and short, while yours felt clunky and repetitive? This course was built for you.

Python Data Structures is a practical, no fluff deep dive into the tools that separate beginner code from confident code. No wasted time. No dry theory. Just clear teaching that gets you writing better Python, fast.

In this course you will learn:

  • What tuples, lists, dicts, and sets actually are and when to reach for each one

  • How list methods let you add, remove, sort, and reshape data with a single line

  • How dictionaries store and retrieve information, and the methods that make them powerful

  • How sets solve uniqueness and membership problems most beginners handle the hard way

  • How to catch and handle errors instead of letting your program crash

  • How to write custom exceptions that make debugging faster and clearer

  • How to loop through nested data, the kind you will actually run into in real projects

  • Why these structures are the foundation of almost everything you will build in Python

This course is produced by CodeWithPurpose, a global nonprofit bringing free tech education to students across 130 countries and 30 languages. Every lesson is designed with one goal in mind: to make knowledge that used to be reserved for university classrooms accessible to absolutely anyone, anywhere in the world.

Who this course is for:

  • This course is for beginner to intermediate Python learners who know the basics but want to write cleaner, more professional code. It's ideal for self taught coders filling gaps in their knowledge, students preparing for technical interviews, and anyone who has copied and pasted code without fully understanding why it worked. If you've ever felt unsure about when to use a list versus a dict, or watched your program crash without knowing how to handle it gracefully, this course was built for you.