Learn Python • #7 Dictionaries • The Most Useful Data Structure?
HTML-код
- Опубликовано: 25 июн 2024
- Dictionaries are a data structure that store key-value pairs, and is quite possibly the most useful data structure in Python.
Dictionaries allowing for fast and efficient data retrieval. We'll cover how to create and manipulate dictionaries, as well as common methods for iterating through them.
You'll also learn how you can use dictionaries to represent real objects (e.g. like a shoe), and how to turn that data into a format that you can send over the internet to other apps (JSON serialization).
This video is part of a beginner tutorial series for anyone who wants to learn Python from scratch, and get to a point where you can start coding your own projects.
🔗 Project Code (GitHub): github.com/pixegami/python-fo...
🔗 Full Playlist: • Python For Beginners (...
🔗 Next Chapter: Coming Tomorrow!
👉 Follow me on Twitter: @pixegami
📚 Chapters
00:00 - Dictionaries vs List
03:42 - How to Use a Dictionary
05:03 - Adding, Updating and Removing items
12:03 - Dictionary Built-In Methods
13:15 - Looping Through a Dictionary
14:58 - Dictionary as Objects
16:45 - JSON Serialization
19:12 - Coding Exercise: Dictionaries
One minute into this lecture and i am already impressed your teaching’s method is underrated .
How to use emojis in vscode
Emojis are just a unicode character, so they just show up as a normal string. To bring up the emoji keyboard, there's usually a shortcut hotkey you can use. Just search "Emoji Keyboard Shortcut For Mac" or "Emoji Keyboard Shortcut For Windows" online and you can use it :)