-
In this video, I want to introduce you to the idea of a list, of a list in Python. It is one of the m
-
most powerful data structures in Python, and it really is just a squence of a bunch of other stuff.
-
So a list in Python would look something like this: So this would be a list of intergers, maybe 1, -7,
-
0, 0, 5 and 10. And we could have some variable refer to it, so that we can refer back to it later,
-
so maybe we say a is equal to all of this. And if we run this in the interpreter, or if we run this
-
in a program, now we can refer to the elements of a, and you do that by, so let's say I have a
-
(let me write in the same pink color) You do that by referring to the index of the element inside of t
-
he list.