Python: Arrays, Lists, and List Builder

  Рет қаралды 96,586

Barry Brown

Barry Brown

Күн бұрын

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.
Get Python for your computer at python.org

Пікірлер: 29
@sabuein
@sabuein 3 жыл бұрын
Thank you, Barry.
@profbbrown
@profbbrown 12 жыл бұрын
Thanks! I'm getting better at them. :)
@kingus1149
@kingus1149 7 жыл бұрын
Barry Brown, I have just came across your video and after following it for a few minutes, I really felt connected to your way of teaching. I am learning Python right now to use it later in my script writing skills (I am a linux Certified). Have you published any book (Python)?
@AdventureXuk
@AdventureXuk 12 жыл бұрын
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!
@jason.lackey
@jason.lackey 8 жыл бұрын
You've got a gift for teaching. I hope you follow through with that. I'd like to see more videos.
@aahmed703
@aahmed703 8 жыл бұрын
Thank you for the clear, concise explanations!
@JordanMetroidManiac
@JordanMetroidManiac 10 жыл бұрын
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
@bladevampirekidway
@bladevampirekidway 10 жыл бұрын
your picture reminds me of quentin tarantino
@jasonmackay936
@jasonmackay936 10 жыл бұрын
Very nice! Thank you for taking the time to post this.
@glscott3535
@glscott3535 9 жыл бұрын
Thanks I was able to follow
@MoJoM0J01
@MoJoM0J01 9 жыл бұрын
Thanks Barry, I was looking for Append and I found it :)
@RATANAGARWALITINFORMER
@RATANAGARWALITINFORMER 3 жыл бұрын
give idea for improvement
@trudawg0814
@trudawg0814 8 жыл бұрын
Thanks!
@t3dodson
@t3dodson 12 жыл бұрын
[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
@hiteshvaidya3331
@hiteshvaidya3331 8 жыл бұрын
how do you accept values of matrix from user?
@MicahTurnerMusic
@MicahTurnerMusic 9 жыл бұрын
good stuff. just one thing... strings are already iterable. you can do [ord(x) for x in hi]
@franktank3956
@franktank3956 5 жыл бұрын
you have no idea how many brain cells i lost trying to learn python
@hernancuadra7288
@hernancuadra7288 9 жыл бұрын
thanks :)
@1906paterson
@1906paterson 11 жыл бұрын
Perfect
@quocnguyenvan84
@quocnguyenvan84 7 жыл бұрын
thanks you :}
@p19860601
@p19860601 5 жыл бұрын
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?
@55thealamo
@55thealamo 8 жыл бұрын
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?
@abdullahalbargi8989
@abdullahalbargi8989 11 жыл бұрын
hi how i can get all possible sub list form list
@lyricalleopard7585
@lyricalleopard7585 8 жыл бұрын
how to add a string into an array?
@wuerfelcrafter
@wuerfelcrafter 7 жыл бұрын
lyrical leopard just write in the array like he made it with the name array
@alexanderm2220
@alexanderm2220 11 жыл бұрын
i didn't hear anything on arrays
@oiLynXTaZeQo
@oiLynXTaZeQo 7 жыл бұрын
8,900th sub :))
@arindamchoudhury
@arindamchoudhury 6 жыл бұрын
you sounds like Barack Obama.
Python: Defining Functions
12:05
Barry Brown
Рет қаралды 88 М.
Python Decorators in 15 Minutes
15:14
Kite
Рет қаралды 441 М.
ДОКАЗАЛ ЧТО НЕ КАБЛУК #shorts
00:30
Паша Осадчий
Рет қаралды 1,9 МЛН
Magic or …? 😱 reveal video on profile 🫢
00:14
Andrey Grechka
Рет қаралды 70 МЛН
Apple peeling hack @scottsreality
00:37
_vector_
Рет қаралды 124 МЛН
Python: Data Structures - Lists, Tuples, Sets & Dictionaries tutorial
19:01
Oggi AI - Artificial Intelligence Today
Рет қаралды 332 М.
Python Tutorial for Beginners 4: Lists, Tuples, and Sets
29:05
Corey Schafer
Рет қаралды 1,5 МЛН
Python: Tuples
6:45
Barry Brown
Рет қаралды 19 М.
Learn NUMPY in 5 minutes - BEST Python Library!
13:38
Python Programmer
Рет қаралды 848 М.
Modern Python logging
21:32
mCoding
Рет қаралды 184 М.
Python dataclasses will save you HOURS, also featuring attrs
8:50
How To Use Functions In Python (Python Tutorial #3)
14:55
CS Dojo
Рет қаралды 2,3 МЛН
threading vs multiprocessing in python
22:31
Dave's Space
Рет қаралды 578 М.
Arrays in Python / Numpy
11:38
APMonitor.com
Рет қаралды 211 М.
C Programming: Dynamic Arrays
1:37:23
Barry Brown
Рет қаралды 1,9 М.