Welcome back everybody.
This lesson will teach you to deal with outer list that contain inner list
and dictionaries as items and similarly,
dictionaries whose values are lists or other dictionaries.
We call it a nested data structure.
It is a little bit like one of these Russian dolls.
This one's painted as a robot,
where there's an outer doll and inside it,
there's another doll, a sublist.
Eventually, you get down to something that's not a container,
like a string or an integer or a turtle instance.
But you might have to descend a few layers to get to it.
In this lesson, we'll also get our first look at
the JSON data format which lets you represent
a very nested list or dictionary as a long text string
so that you can store it in a file and read it later or send it to another computer.
At the end of this lesson,
you should be able to use square brackets
repeatedly to pull data elements out of a nested data structure,
and you should be able to read from and write to
strings that are in the JSON format using the Python JSON module.
I'll see you at the end for recap and some funny jokes. Bye for now.