Python: How to Create a Dictionary from two related Iterables in a Pythonic Way

preview_player
Показать описание
In this video, we are going to learn about creating a dictionary from two related iterables (like lists, as shown in our example) in Python while following the best practices, along with the usage of the "zip" function. After watching this video, one will be able to create a dictionary from two related iterables in Pythonic Way using the "zip" function and also will be able to write a clean python code.

#python #BeingPythonic #PythonicWay #python3

Python Version: 3.9.2
Title: Python: How to Create a Dictionary from two related Iterables in a Pythonic Way
Playlist: Being Pythonic

------------ Contents of this video ------------
0:00 - Intro
0:05 - Non-Pythonic Code
0:30 - Non-Pythonic Output
0:37 - Pythonic Code
1:00 - Pythonic Output
1:06 - Outro
-------------------------------------------------------------

------------------------ Credits ------------------------
Song: JPB - High [NCS Release]
Music provided by NoCopyrightSounds

Song: MBB - Fantastic (Vlog No Copyright Music)
Music provided by Vlog No Copyright Music.
-------------------------------------------------------------
Рекомендации по теме
welcome to shbcf.ru