Course curriculum

    1. 1.1 The Python Way to Loop

    2. 1.2 Yes, Let's Go Back to the Beginning: for Loops

    3. 1.3 Iterables

    4. 1.4 The "Non-Pythonic" for Loop

    5. 1.5 Looping Through Dictionaries

    6. 1.6 Looping Through Nested Structures

    7. 1.7 Using break and continue

    8. 1.8 A Short Note on else in Loops

    1. 2.1 But I Need To Access Two Data Structures in The Same Loop? • zip()

    2. 2.2 Zipping Structures of Unequal Length

    3. 2.3 A Bit More on zip()

    4. 2.4 But I Still Need The Index As I Loop Through a Data Structure? • enumerate()

    5. 2.5 Iterators

    1. 3.1 Behind The Scenes of the for Loop

    2. 3.2 Iterables and Iterators in The Iterator Protocol

    3. 3.3 Stopping The Iteration

    4. 3.4 Reviewing The Iterator Protocol

    5. 3.5 And It's Not Just the for Loop…

    1. 4.1 List Comprehension

    2. 4.2 List Comprehensions With an if Clause

    3. 4.3 Nested List Comprehensions • Part 1

    4. 4.4 Nested List Comprehensions • Part 2

    5. 4.5 List Comprehensions With a Conditional Expression

    6. 4.6 List Comprehensions Are Not "Syntactic Sugar" • Performance

    7. 4.7 List Comprehensions Are Not "Syntactic Sugar" • Scope

    8. 4.8 Revisiting The Custom Class MyIterable

    9. 4.9 Set Comprehension

    10. 4.10 Dictionary Comprehension

    11. 4.11 Is There a Tuple Comprehension? No...but...

    1. 5.1 What Are Generator Expressions? And What About Generators?

    2. 5.2 Generator Expressions With an if Clause

    3. 5.3 Creating Generators With A Generator Function

    4. 5.4 More on Generator Functions • Part 1

    5. 5.5 More on Generator Functions • Part 2

    6. 5.6 Generators are Iterators. Iterators are Iterable

    1. 6.1 More Tools for Iteration • itertools

    2. 6.2 cycle()

    3. 6.3 repeat()

    4. 6.4 count()

    5. 6.5 pairwise()

    6. 6.6 permutations() , combinations(), and product()

    7. 6.7 groupby()

About this course

  • 49 lessons
  • 4.5 hours of video content