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
Смотрите видео Python Tutorial: Lists | Part 2 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Practical Coding 09 Июль 2019, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 115 раз и оно понравилось 7 людям.