Looping over dictionaries PREMIUM

Trey Hunner smiling in a t-shirt against a yellow wall
Trey Hunner
3 min. read 2 min. video Python 3.8—3.12
Python Morsels
Watch as video
02:13

What happens when you loop over a dictionary in Python?

Take a guess

Dictionaries are iterables, which means we can loop over them.

What do you think might happen when we loop over a dictionary?

...

Concepts Beyond Intro to Python

Intro to Python courses often skip over some fundamental Python concepts.

Sign up below and I'll share ideas new Pythonistas often overlook.

Python Morsels
Watch as video
02:13