Tags: Python Python Lists Python Tuples Python Sets Python Data Types Python for Beginners Absolute Beginners Python for Absolute Beginners Python Basics Getting Started with Python Python 3.6 Python 36 Python 3
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:
https://github.com/CoreyMSchafer/code_snippets/tree/master/Python-Lists
Watch the full Python Beginner Series here:
https://www.youtube.com/playlist?list=PL-osiE80TeTskrapNbzXhwoFUiLCjGgY7
Slicing Video: https://youtu.be/ajrtAuDg3yw
β Support My Channel Through Patreon:
https://www.patreon.com/coreyms
β Become a Channel Member:
https://www.youtube.com/channel/UCCezIgC97PvUuR4_gbFUs5g/join
β One-Time Contribution Through PayPal:
https://goo.gl/649HFY
β Cryptocurrency Donations:
Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot
β Corey's Public Amazon Wishlist
http://a.co/inIyro1
β Equipment I Use and Books I Recommend:
https://www.amazon.com/shop/coreyschafer
βΆοΈ You Can Find Me On:
My Website - http://coreyms.com/
My Second Channel - https://www.youtube.com/c/coreymschafer
Facebook - https://www.facebook.com/CoreyMSchafer
Twitter - https://twitter.com/CoreyMSchafer
Instagram - https://www.instagram.com/coreymschafer/
#Python
or
Question
Can you explain to me the difference between Sets and Dictionaries? Or highlight when it's better to use a set vs a dictionary. Thank you kindly
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.
Best o the courses for free or payed
This is by far the best online python course out there. you really saved me, thanks.
I tried doing this:
courses = ['math','physics','chemistry','english','CompSci']
print(courses[2:5])
Output: ['chemistry','english','CmpSci']
I wish to know why the concept of "Index out of bound" doesn't hold valid here?
Out of everything I've tried so far (Treehouse, LPTHW, Udemy, Udacity, ATBS) -- your course has already helped me understand certain concepts that wouldn't click using other methods.
I can't thank you enough for this course. I thought options that cost money would have meant more in-depth/higher quality, but you explain just the right amount of info in just the right way. It's incredible to me that it's taken so long to find something that really provides the right information.
Thank you so much.
Interesting, after we .join the list courses, we are left with the expected: history - math - physics β compsci; What do we call this data type at this moment? it's locked inside this new var we created for it,: course_str = history - math - physics β compsci. If we never convert it back using .split this becomes a worthless memory content, easily forgotten. It's the same thing as saying, I have this fragment of information in a memory location that I can only perform a .split method on?
I really miss console.log
When you append or insert into a list, does that value remain remain in memory for that list. Is there a away to check a lists content other than with print?
if tuples are imutable, how come i can easily add an item to a tuple?
tuple1= (1,2,3,4)
tuple1=tuple1 + (5,)