The 95% percent of what you must know about Dictionary in Python.
BASICS AND TIPS:
creating, updating Python dictionaries, iterating
TIP 1: dict() as a Pythonic way to create a Python dictionary
TIP 2: how to get data - with [] or using .get()?
TIP 3: renaming keys (2 ways to do it)
⌚️ TIMECODES
00:00 - Beginning of Python tutorial "Dictionary in Python: the 95% of what you must know"
00:14 - Example of a dictionary in Python
00:48 - Two ways to create a dictionary in Python
01:08 - Tip 1: using of dict() to create a dictionary. Pythonic way.
02:07 - How to get data from a dictionary in Python.
02:27 - Using of .get() method to get the value of a dict key
03:04 - Tip 2: the best way to get the value from the dictionary
03:59 - What is the setdefault() method
04:57 - How to change dict's content using the .update() method - two ways
06:03 - Updating Python dictionaries with pipe | operator
06:35 - Tip 3: Renaming a key of a dictionary - way 1
06:57 - Renaming a key of a dict using the .pop() method
07:24 - Iterating through a dictionary
08:38 - Unpacking keys & values to variables
💬️ SOCIAL MEDIA
Telegram: https://t.me/red_eyed_coder_club
Twitter: / codereyed
Facebook: https://fb.me/redeyedcoderclub
Website: https://red-eyed-coder-club.github.io/
Dictionary in Python: 95% of what you must know | Python tutorial
• Dictionary in Python: the 95.17% of W...
#python #pythontutorial #redeyedcoderclub