Learn to control program flow with conditionals and loops, and work with essential data structures: lists, tuples, dictionaries, and sets.
Join the AI Workshop to learn more about AI and how it can be applied to web development. Next cohort February 1st, 2026
The AI-first Web Development BOOTCAMP cohort starts February 24th, 2026. 10 weeks of intensive training and hands-on projects.
This unit covers control flow in Python (conditionals and loops) and the core collection types: lists, tuples, dictionaries, and sets. You’ll learn how to make decisions, iterate through data, and choose the right data structure for your needs.
Lessons in this unit:
| 0: | ▶︎ Introduction |
| 1: | Control statements |
| 2: | Ternary operator |
| 3: | Loops |
| 4: | Lists |
| 5: | List comprehensions |
| 6: | How to create a list from a string |
| 7: | Tuples |
| 8: | Dictionaries |
| 9: | Sets |