vTomb Logo

Lists & Tuples in Python - Beginner Python Tutorial #4

Home
Home
Donate
Donate
All
People & Blogs
Entertainment
Music
Gaming
Education
Howto & Style
News & Politics
Science & Technology
Film & Animation
Sports
Comedy
Autos & Vehicles
Nonprofits & Activism
Travel & Events
Pets & Animals

In this video, we go over two data structures in python, lists and tuples.

Lists are a mutable structure. This means that you can dynamically change the size and contents of the list. We have several different functions to do this. I cover in this video append, pop, remove, insert, and a few others.

Tuples, on the other hand, are an immutable data type. This means that once you create a tuple object, that tuple object and those values inside do not change. When you make changes to a tuple you'll actually be creating a new tuple.

Indexing works the same in lists and tuples.

Leave a comment and let me know how python is going for you guys and girls!

SUBSCRIBE to not miss any future tutorials

Link to list/tuple documentation:
https://docs.python.org/3/tutorial/datastructures.html

if you have any questions about anything covered, leave a comment down below.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

PYTHON TUTORIAL SERIES:

Why Learn Python? +Setup: https://youtu.be/RJL6Y761TNE

1. Math & Variables: https://youtu.be/XM0CtrJYM2A
2. Conditional Statements (if, elif, else): https://youtu.be/vsVGPcfxEiA
3. Functions: https://youtu.be/5U95tRdYySA
4. Lists & Tuples: https://youtu.be/_zFI6ytHHdY
5. For Loops & While Loops: https://youtu.be/WPF5M_Ic6Fc

Learn to Program a game: https://youtu.be/-8n91btt5d8

By using our services, you agree to our Privacy Policy.
Powered by Wildsbet.

© 2022 vTomb

By using our services, you agree to our Privacy Policy.
Got it