Python: Arrays, Lists, and List Builder

preview_player
Показать описание
The List data type in Python allows you to store several values together. Lists are ordered and can hold duplicate values.

Lists are also known as Arrays or Vectors.

Learn how to define lists, access individual elements, alter them, and use list-builder notation to construct lists mathematically. We will use IDLE to define lists and see their elements.

Рекомендации по теме
Комментарии
Автор

Can I just this is a fantastic tutorial on Arrays. I am teaching programming to my students at secondary school and your video is extremely useful for students to visit at a later date when they are not in the classroom. Please keep them coming!

AdventureXuk
Автор

You've got a gift for teaching. I hope you follow through with that. I'd like to see more videos.

jason.lackey
Автор

Thanks. I never realized how awesome Python was until I saw "[x for x in range... if x...]" It's too simple! And it's like coding backwards. Lol

JordanMetroidManiac
Автор

Thank you for the clear, concise explanations!

aahmed
Автор

Very nice! Thank you for taking the time to post this.

jasonmackay
Автор

how do you accept values of matrix from user?

hiteshvaidya
Автор

Thanks! I'm getting better at them. :)

profbbrown
Автор

your picture reminds me of quentin tarantino

bladevampirekidway
Автор

good stuff. just one thing... strings are already iterable. you can do [ord(x) for x in hi]

MicahTurnerMusic
Автор

Hey Barry, i started python just few weeks ago and i am trying my best but somehow now really successfully. I find it hard to find solution to a question : if i have a list and i need a program to add the first element at the last element of the list....i've been sitting on this, i know it's simple, but just don't come to me. would u be able to help me out?

p
Автор

hi
how i can get all possible sub list form list

abdullahalbargi
Автор

My son is having trouble with arrays and according to him he has to import array but it will not work in python....any advice?

thealamo
Автор

Thanks Barry, I was looking for Append and I found it :)

MoJoMJ
Автор

[x for x in range(2, 21) if x % 2 == 0] == x for x in range(2, 21, 2) The third parameter of range is the skip operator

tdodson
Автор

i didn't hear anything on arrays

alexanderm
Автор

you have no idea how many brain cells i lost trying to learn python

franktank
visit shbcf.ru