In this two-part video, learn the very basics of how to use Python lists. We will be covering how to reference individual elements within a list and common methods and functions used to manipulate lists in Python 3.
-------------------------------------------------------------------------------------------------------------------------------------------------------
New Methods:
.sort() Sorts a list from A-Z or 0-9. Changes index values.
.reverse() Reverses the order of a list without sorting. Changes index values
.count() Counts the number of occurrences of a specified value
.index() Finds the index for a specified value.
-------------------------------------------------------------------------------------------------------------------------------------------------------
New Functions:
sorted() Sorts a list from A-Z or 0-9. Index values unaffected
-------------------------------------------------------------------------------------------------------------------------------------------------------
Don't forget to like and subscribe!!!
Previous video:
• Python Tutorial: Lists | Part 1
#pythonlists #python #PracticalCoding
Sur cette page du site, vous pouvez voir la vidéo en ligne Python Tutorial: Lists | Part 2 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Practical Coding 09 July 2019, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 128 fois et il a aimé 8 téléspectateurs. Bon visionnage!