Python 101: Learn These MUST KNOW List Features

preview_player
Показать описание
To learn programming and Python - check out Datacamp!

In this video i'm going to walk you through all of the must-know Python 'list' features. What is a list? A list in python is an ordered collection of elements. We can store any elements we want in a list regardless of the data type. We will go over everything from Indexing, Negative indexing, Slicing, & Zipping.

🎞 *Video Resources*

⏳ *Timestamps*
00:00 | List Challenge
00:16 | What is a List?
00:42 | Indexing
01:55 | Negative Indexing
02:56 | Become a Software Developer
03:50 | Adding, Removing, & Inserting
06:50 | Mutability
09:20 | Nested Lists
10:13 | Slicing [start : stop : step]
16:25 | Useful List Methods
19:41 | Zipping Lists
20:39 | List Comprehensions

🔗 *Socials*

*Support*

🔖 *Tags*
- Tech with Tim
- How to Code
- Python List

*Hashtags*
#software
#computer
#python
Рекомендации по теме
Комментарии
Автор

To learn programming and Python - check out Datacamp!

TechWithTim
Автор

Excellent video about lists. Hoping to see similar video for sets, dictionaries and tuples. Thank you!

sulochandhungel
Автор

I learned way more than expected in such a short amount of time. Just started Python in my CS program and was looking for extra guidance online to supplement schoolwork. Subbing now! Thanks.

jameskelly
Автор

This is a very well-taught tutorial as usual, engaging and easy to understand. Thank you.

Crypnalist
Автор

...my brother you are my hero in this business...

purvislewies
Автор

Super video Tim :) I was secretely wishing you would show the shuffle method in a list. It is really cool.

kapibara
Автор

Great video for beginners. Should make a video on specific libraries that are handy for specific data types aimed for more intermediate users too (e.g., built-in 'slice', or 'insort' from bisect for list types, 'nested_lookup' from nested_lookup for dictionaries)

MatrixAbuz
Автор

I thought I knew it all about lists but I got a couple new things with this. Definitely will be sending this to all the N00bs.

JSDudeca
Автор

Great content Tim! Thank you for your effort in creating this type of content for us! It's a good reference video to refresh the knowledge on the lists.

danielcrigan
Автор

I got [999, 8]. I had to guess what the isinstance function did in the end. Assuming it filters out anything that isn't and integer, otherwise it would be [999, 8, 'a', ' 'b', 'c'] (I think). Great video.

ShaneKluskowski
Автор

Thanks - really useful breakdown of List functionality.

paulthomas
Автор

Okay here is my attempt!

n1 is list a of even numbers, n2 is a list of odd numbers.
on line 4, you are making a list of those even and odd numbers as zipped.
on line 6, you are collecting the numbers from this list starting from index 0 and going backwards by -1 step. Reversed order?
on line 8, you are the odd numbers in reversed order to the end of the zipped_2 list
on line 10, you are replacing a number with 999 at position -5
on line 12, you are replacing three numbers with a, b, c from position 1, 2, 3
on line 14, you are sorting the n1 list in reverse order if they are a number they will be sorted first.
finally printing the results

nitetoad
Автор

For those who is asking which ide is that.. its just vscode...

_subhambanerjee
Автор

Very useful video. Please make a video about other data types (tuple, set, dictionary)

JonibekHamroqulov-bfgp
Автор

Great video Tim! Please do the same for other data structures.

et.sachin
Автор

this guy: "Please learn"
Meanwhile...
My teacher: "You learn or don't learn, your choice"

Taher_M
Автор

Thank you so much, even when one becomes very well versed in programming, there are always a few tiny things that one can miss out that may hinder performance and usefulness of a langauge.

Raiden_Amani
Автор

@TechWithTim Tim!...Thanks for video you've made i appreciate so the Coursecareer programme apply to every am a Nigerian in Africa and all i can here is North America related settings

joshuaikem
Автор

Can you make a video about python library that you should know beginner please

DanielBinoy-jz
Автор

One thing that all these tutorials lack is the fact that a LIST in Python is equivalent to an ARRAY in most other coding languages.

kevlon