#2: Python List, Set & Dictionary Comprehension | Python Best Practices

Pubblicato il: 03 marzo 2021
sul canale di: Programiz
30,382
717

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


In questa pagina del sito puoi guardare il video online #2: Python List, Set & Dictionary Comprehension | Python Best Practices della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Programiz 03 marzo 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 30,382 volte e gli è piaciuto 717 spettatori. Buona visione!