Search for tag: "ids"
Lesson 19.7 Mutable Table FunctionsDictionaries are mutables and support mutable functions. But this is a case where dictionaries are slightly different from lists. We are allowed to loop over a dictionary as we modify it, so long as…
From Hannah Lee
69 plays
|
|
Lesson 19.6 Immutable Dictionary FunctionsSince we can loop over dictionaries, that means we probably want to use them in functions with accumulators. In this video we show how to do this and why they are not that much different from lists.
From Hannah Lee
73 plays
|
|
Lesson 19.1 Dictionary ExpressionsIn this video, we introduce a dictionary as a collection of key-value pairs. We also show how to write a dictionary expression in Python. It looks just like a JSON string, but without the quotes.
From Hannah Lee
94 plays
|