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