Lists are a really useful and versatile variable type. We can store more than a single value in a list. Lists can store more than one type of variable at a time. The order is changeable and we can add or remove items with ease. There are many useful methods to help us work with lists like .append(), .remove(), .pop(), .sort() and many more. When interacting with lists we need to learn how to slice. This means we need to learn python indexing which starts at 0 and can also work in reverse from the back. The slice start index is included in the slide but the stop index is not included.
Copyright image attribution:
https://en.wikipedia.org/wiki/The_Lor...
Sur cette page du site, vous pouvez voir la vidéo en ligne 6. Working with lists in Python durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Taylor Sparks 13 novembre 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,705 fois et il a aimé 30 téléspectateurs. Bon visionnage!