Python Tutorial for Beginners 4: Lists, Tuples, and Sets

preview_player
Показать описание
In this Python Beginner Tutorial, we will begin learning about Lists, Tuples, and Sets in Python. Lists and Tuples allow us to work with sequential data, and Sets allow us to work with unordered unique values. We will go over most of the methods, learn when to use which data type, and also the performance benefits of each type as well. Let's get started.

The code from this video can be found at:

Watch the full Python Beginner Series here:

✅ Support My Channel Through Patreon:

✅ Become a Channel Member:

✅ One-Time Contribution Through PayPal:

✅ Cryptocurrency Donations:
Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot

✅ Corey's Public Amazon Wishlist

✅ Equipment I Use and Books I Recommend:

▶️ You Can Find Me On:

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

There is something in the way you talk that makes information very accessible and easy to follow up and flows with the screen, it is a rare gift that most instructors lack.

anismatar
Автор

You're a natural instructor/ teacher. You are so specific and clear. Even in 2020, This is one of the best free courses on Python all over Youtube

ayushkishor
Автор

I regularly come back to these videos to remind myself of the basics of python. You're doing us all a huge service!

Автор

6 yr old video and still as clear as day. You are a good teacher. Thank you!

tuzaguilar
Автор

This is by far the best online python course out there. you really saved me, thanks.

totehalomy
Автор

Quick notes
List = mutable
Remove, pop, insert, append, extend, join, split, max, min, sum, sorted, sort
Tuple= immutable
Sets= used as membership checker
Doesn't allow duplicate data
Union, difference, intersection

unknownnaanu
Автор

I tried a different tutorial series before this one. The guy kept his head as big as he could and it was always blocking the code. He had massive amounts of filler chat, repeating the same lame jokes every single video, just fluff to pad the time.

What a breath of fresh air this series seems to be. No head blocking the code in every video. No BS or stupid jokes, just straight to it every time. Well done!! Love the format here.

Lord_Volkner
Автор

+ Slicing: 2:33
==> courses[-<number>]
==> courses[<number>:<number>]
==> courses[:<number>]
==> courses[<number>:]

+ Methods: 5:18
==> .append(<value>)
==> .insert(<index>, <value>)
==> .extend(<list>)
==> .remove(<value>)
==> .pop()
==> .reverse()
==> .sort()
==> .sort(reverse=True)
==> sorted(<list>)
==> min(<list>)
==> max(<list>)
==> sum(<list>)
==> .index(<value>)

+ Looping:
==> for index, value in enumerate(<list>) : 16:50
==> for index, value in enumerate(<list>, start=<number to start index>)

+ Methods again: 18:50
==>
==> .split(<split-string-with>)

+ Sets Methods: 26:00
==> <set1>.intersection(<set2>)
==> <set1>.difference(<set2>)
==> <set1>.union(<set2>)

shreyaschavhan
Автор

this course is pure gold, if you are picking up python with a programming experience you can ezily get to programming level within a week. Thank you for your work

Llkc
Автор

I've searched the youtube thick and thin for python tutorials for a week by now. These are the best ones indeed. Thank you my Great Guru.

menatoorus
Автор

It’s 2022 and this is still the best free Python course I have come across. I always recommend your course to anyone who wants to learn Python. Thank you 🙏

Trippykiyay
Автор

This is my first time coming across the set methods of intersection, union and difference. I don't regret spending my weekends on your page man.

obinnavitalis
Автор

I love all your Python courses!!! You are the best!!! I feel so lucky to know you on Youtube and you get many of my Python issues clear. THANK YOU!!!

jingliu
Автор

By far many Python tutorials are available in the internet, Like Coursera python courses, Udemy, Learning python the hard way, many other blogs and Vlogpresented by many individuals and companies, with all due respect to all the tutorials given by Corey Schafer is simple and to the point. Anyone willing to learn Python(programming) going through Corey Schafer's tutorials will give you happiness. Thank you Schafer!.

ashwin
Автор

There a lot of professional programmers, but not all are good teachers. You are a great teacher too! So easy to follow up!!! Thanks a lot!!!

tahirsultanov
Автор

Corey, I have to say that listening to you teach Python is just a pleasure. Thank you for this great resource that is broken down so manageably without being too slow nor difficult to follow. I only wish that there had been anyone to teach computer science at my school, let alone somebody who can explain it as well as you.

jonathanhutchinson
Автор

List : 0:00
Tuple : 20:05
LIst : 23:34

Shiva-zyjq
Автор

Thank you so much for making these videos. I have watched multiple tutorials and taken multiple course sera classes and your explanations are by far the best. Very clear and concise with perfect examples.

ashleyclarke
Автор

I pulled up this vid to better understand the difference between lists, tuples, and sets. Ended up watching the whole thing and learned a bunch! Thank you Corey. 🙏

itsoktobewhite
Автор

Corey, you are a great teacher. Your concern that your student understands the concepts comes through. I have tried many online courses on Python and yours is head and shoulders above the rest. Thank you.

wbelsom