Skip to content

PRO TIP Block youtube.com at the DNS level β€” Pi-hole, NextDNS or your hosts file β€” but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

Python Lists & Tuples for Beginners | Python tutorial

41.2K views on YouTube

Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap

Learn Python lists & tuples for beginners in this Python tutorial. Lists can hold many values, but we can refer to them with one variable name. Tuples differ from lists because their values and order cannot change. Much more in the video lesson!

πŸ’– Support me on Patreon ➜ https://patreon.com/davegray

⭐ Become a full-stack dev with Zero To Mastery Courses:
– The Complete Python Developer: https://bit.ly/CompPythonDev
– Complete Machine Learning & Data Science: https://bit.ly/CompMachineLearning
– Junior to Senior Dev Roadmap: https://bit.ly/WebDevRoadmap-JrtoSr

🚩 Subscribe ➜ https://bit.ly/3nGHmNn

πŸ“¬ Course Updates ➜ https://courses.davegray.codes/

❓ Questions – Please post them to my Discord ➜ https://discord.gg/neKghyefqh

β˜• Buy Me A Coffee ➜ https://www.buymeacoffee.com/davegray

πŸ‘‡ Follow Me On Social Media:
Github: https://github.com/gitdagray
Twitter: https://twitter.com/yesdavidgray
LinkedIn: https://www.linkedin.com/in/davidagray/

πŸ”— Source Code: https://github.com/gitdagray/python-course

πŸ”— Playlist for this Python Course: https://bit.ly/dg-beginners-python

Python Lists & Tuples for Beginners | Python tutorial

(00:00) Intro
(00:05) Welcome
(00:13) Lesson 5 Correction
(00:45) Quick Setup
(01:25) What are lists?
(02:16) Check for a value in a list
(03:06) Retrieve a list value by index
(04:10) Retrieve a range of list values
(06:11) Get the length of a list
(06:49) Appending items to a list
(10:06) Inserting values at a specific list index
(11:55) Replacing list values
(13:16) Removing, deleting, clearing
(15:57) Sorting lists
(22:47) Copying lists
(25:09) List constructor and data type
(26:27) Tuples vs Lists
(27:55) If you need to change a tuple
(29:00) Unpacking tuples
(30:26) Using dot notation to find methods

πŸ“š Tutorial References:
πŸ”— Python Official Site: https://www.python.org/
πŸ”—Visual Studio Code Official Site: https://code.visualstudio.com/

Was this Python Lists and Tuples tutorial for beginners helpful? If so, please share. Let me know your thoughts in the comments.

#python #lists #tuples