filmov
tv
Python 106 - Data Types: Lists, Tuples, Sets, and Dictionaries Explained
![preview_player](https://i.ytimg.com/vi/iROJOQmkdZc/maxresdefault.jpg)
Показать описание
Welcome to #python 106! In this tutorial, we dive into the core elements of Python programming: Lists, Tuples, Sets, and Dictionaries. Join us as we uncover the versatility and functionality of these essential Python types.
- Learn how to work with Lists effectively, from basic operations to advanced techniques.
- Explore the characteristics of Tuples and their immutable nature, perfect for storing constant data.
- Discover the power of Sets for handling collections of unique elements with ease.
- Unlock the potential of Dictionaries and understand how they simplify data management using key-value pairs.
Timeline
==================
00:00 - Introduction
00:14 - List Datatype
00:50 - List example
02:02 - Accessing a list item
03:23 - Get the number of items in a list len()
04:05 - Negative index
05:14 - Range of indexes
08:03 - Check if item exist in list (in)
09:28 - Change/Mutate an item in a list
12:40 - List append()
13:22 - List insert()
14:35 - List remove() and pop()
16:25 - List sort()
17:17 - Tuple Datatype
19:42 - Set Datatype
21:19 - adding item to a Set
21:37 - merging Sets together
22:17 - Dictionary Datatype
24:55 - Accessing data in a dictionary
25:55 - Update the value of a key in a dictionary
26:23 - Add new key value pair to an existing dictionary variable
27:21 - remove a key form a dictionary using pop()
28:16 - Accessing nested dictionary
- Learn how to work with Lists effectively, from basic operations to advanced techniques.
- Explore the characteristics of Tuples and their immutable nature, perfect for storing constant data.
- Discover the power of Sets for handling collections of unique elements with ease.
- Unlock the potential of Dictionaries and understand how they simplify data management using key-value pairs.
Timeline
==================
00:00 - Introduction
00:14 - List Datatype
00:50 - List example
02:02 - Accessing a list item
03:23 - Get the number of items in a list len()
04:05 - Negative index
05:14 - Range of indexes
08:03 - Check if item exist in list (in)
09:28 - Change/Mutate an item in a list
12:40 - List append()
13:22 - List insert()
14:35 - List remove() and pop()
16:25 - List sort()
17:17 - Tuple Datatype
19:42 - Set Datatype
21:19 - adding item to a Set
21:37 - merging Sets together
22:17 - Dictionary Datatype
24:55 - Accessing data in a dictionary
25:55 - Update the value of a key in a dictionary
26:23 - Add new key value pair to an existing dictionary variable
27:21 - remove a key form a dictionary using pop()
28:16 - Accessing nested dictionary
Комментарии