Timeline:
00:00 Intro
00:46 Create, modify, and iterate lists
03:18 Chart Example
05:21 References
08:06 id() and identity operators
09:45 copy() and list slicing
10:17 list() constructor
10:52 Adding: append(), insert(), and extend()
13:26 Removing: remove(), pop(), del, and clear()
14:56 + (concatenation) and * (repeat) operators
16:50 Remove even numbers example
21:07 count(), index() and membership operators
22:01 reverse(), sort() and comparison operators
24:52 Sequence packing and unpacking
27:56 enumerate() and zip()
30:56 Modifying multiple elements using slice
32:35 split() and join() for string list
33:58 Email split example
35:17 List comprehensions
Source code for examples: https://github.com/rahulsrma26/csglit...
Assignments page: https://www.hackerrank.com/csglitz-py...
Todays' assignments:
Number sum 4
Variance 1
Sorting Word List
Occurrence Count
Dot Product 2
Other info:
Time function and epoch: https://docs.python.org/3/library/tim...
Keywords:
python, python3, vscode, visual studio code, list, create list, modify list, add list, list append, list remove, delete list, clear list, id function, copy list, list slicing, list indexing, list pop, list operators, list + operator, list * operator, list count, list index, list reverse, list sort, list packing, list unpacking, list packing unpacking, list enumerate, list enumeration, zip function, list zip, string split, string join, python join, python split, str split, str join, list comprehension, list memory, references, memory management, list manipulation, list all methods, list full
#CSglitz #Python #PythonList
Sur cette page du site, vous pouvez voir la vidéo en ligne Python 3 Tutorial 06 - Everything you need to KNOW about LIST durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur cs glitz 22 juin 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 236 fois et il a aimé 16 téléspectateurs. Bon visionnage!