Step by step video tutorials to learn Python for absolute beginners!
There are different compound data types in Python like lists, sets, and dictionaries.
In this video, we will learn to use list, set, and dictionary comprehension in Python with the help of examples. These comprehensions will allow you to create lists, sets, and dictionaries in a more elegant and Pythonic way using a single line expression.
~
Run Python Online: https://www.programiz.com/python-prog...
Programs in this video: https://github.com/programiz/python-b...
Python List Comprehension (text-based tutorial): https://www.programiz.com/python-prog...
Python Dictionary Comprehension (text-based tutorial): https://www.programiz.com/python-prog...
Python List (text-based tutorial): https://www.programiz.com/python-prog...
Python Set (text-based tutorial): https://www.programiz.com/python-prog...
Python Dictionary (text-based tutorial): https://www.programiz.com/python-prog...
Watch our videos and revise them with our Python App!
Download here for Android: https://bit.ly/learn-python-android
Download here for iOS: https://apple.co/3iPm6Sx
Timestamps:
0:00 Intro
0:21 List Comprehension
2:24 Conditionals in List Comprehension
4:07 Multiple Loops in List Comprehension
6:41 Set Comprehension
7:39 Dictionary Comprehension
Find Programiz elsewhere:
Facebook: / programiz
Instagram: / _programiz
LinkedIn: / programiz
Website: https://www.programiz.com
#programiz #python #programizbestpractices #pythonlistanddictionary #listcomprehension
Смотрите видео #2: Python List, Set & Dictionary Comprehension | Python Best Practices онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Programiz 03 Март 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 30,382 раз и оно понравилось 717 людям.