Web Dev Roadmap for Beginners (Free!): 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 ➜ / davegray
⭐ Become a full-stack dev with Zero To Mastery Courses:
- The Complete Python Developer: bit.ly/CompPythonDev
- Complete Machine Learning & Data Science: bit.ly/CompMachineLearning
- Junior to Senior Dev Roadmap: bit.ly/WebDevRoadmap-JrtoSr
🚩 Subscribe ➜ bit.ly/3nGHmNn
📬 Course Updates ➜ courses.davegray.codes/
❓ Questions - Please post them to my Discord ➜ / discord
☕ Buy Me A Coffee ➜ www.buymeacoffee.com/davegray
👇 Follow Me On Social Media:
Github: github.com/gitdagray
Twitter: / yesdavidgray
LinkedIn: / davidagray
🔗 Source Code: github.com/gitdagray/python-c...
🔗 Playlist for this Python Course: 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: www.python.org/
🔗Visual Studio Code Official Site: 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
16 июн 2024