This video highlights Python Sequential Data Types: Python Lists and Python Tuples
A sequence is a group of items with a deterministic ordering:
The order in which we put the items is the order in which we get the items out
Lists and Tuples are used to store multiple ordered items in a single variable
The difference between lists and tuples is that lists are mutable (elements in a list can be modified) while a tuple is immutable (elements in a tuple cannot be modified)
To modify a tuple, change the tuple into a list, then modify the list and change it back into a tuple
After watching this video, you’ll know how to:
Create Python Lists and Tuples
How to subset lists and lists of lists (list indexing)
List slicing
List manipulation
Adding list items
Removing list items
How to sort list items alphanumerically
Copy a list the right way
How to use inbuilt list functions and methods
How to loop lists with a for loop and a while loop
This video is perfect for beginners interested in learning more about Python for Data Analysis and Data Science.
#pythondatatypes #pythonlists #pythontuples #sequentialdatatypes #pythonprogramming
Sur cette page du site, vous pouvez voir la vidéo en ligne Sequential Data Type: | Lists | Tuples | durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Code with Jon 06 décembre 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 190 fois et il a aimé 9 téléspectateurs. Bon visionnage!