< Return to Video

Python Lists

  • 0:00 - 0:08
    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
  • 0:08 - 0:12
    most powerful data structures in Python, and it really is just a squence of a bunch of other stuff.
  • 0:12 - 0:19
    So a list in Python would look something like this: So this would be a list of intergers, maybe 1, -7,
  • 0:19 - 0:29
    0, 0, 5 and 10. And we could have some variable refer to it, so that we can refer back to it later,
  • 0:29 - 0:36
    so maybe we say a is equal to all of this. And if we run this in the interpreter, or if we run this
  • 0:36 - 0:41
    in a program, now we can refer to the elements of a, and you do that by, so let's say I have a
  • 0:41 - 0:47
    (let me write in the same pink color) You do that by referring to the index of the element inside of t
  • 0:47 - 5999:59
    he list.
Title:
Python Lists
Description:

Understanding the basics of lists in Python

more » « less
Video Language:
English
Duration:
11:41
Anti Lepik edited English subtitles for Python Lists
Hong Ji OuYang edited English subtitles for Python Lists
Hong Ji OuYang edited English subtitles for Python Lists
luitbilly edited English subtitles for Python Lists
luitbilly edited English subtitles for Python Lists
luitbilly added a translation

English subtitles

Revisions Compare revisions