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

Publicado em: 03 Março 2021
no canal de: 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


Nesta página do site você pode assistir ao vídeo on-line #2: Python List, Set & Dictionary Comprehension | Python Best Practices duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Programiz 03 Março 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 30,382 vezes e gostou 717 espectadores. Boa visualização!