Almost Everything You Need For List Comprehension - Python

Pubblicato il: 18 gennaio 2023
sul canale di: WhyNotProgram
2,225
81

A great way to reduce code length and obtain a slight performance boost is to use list comprehension. However, readability is a trade-off.


0:00 Intro
0:24 List comprehension basic setup
2:55 List comp - if
5:03 List comp - and
5:41 List comp - else
6:51 List comp - if-and-else
8:01 List comp - function
8:56 List comp - nested list
11:06 List comp - nested loop

Join our Discord community! Whether you're into art, music, writing, programming, or game development, this is a space for creators to share their work, find inspiration, and learn from one another. Discord:   / discord  


In questa pagina del sito puoi guardare il video online Almost Everything You Need For List Comprehension - Python della durata di ore minuti seconda in buona qualità , che l'utente ha caricato WhyNotProgram 18 gennaio 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 2,225 volte e gli è piaciuto 81 spettatori. Buona visione!