Python tip 27: enumerate() function

Publicado em: 03 Maio 2023
no canal de: learnbyexample
63
0

When you use a for loop, you get one element per each iteration. If you need the index of the elements as well, use the `enumerate()` built-in function. You'll get a tuple value per each iteration, containing index (starting with 0 by default) and the value at that index.


This video is based on content from my "100 Page Python Intro" ebook: https://github.com/learnbyexample/100...


Nesta página do site você pode assistir ao vídeo on-line Python tip 27: enumerate() function duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário learnbyexample 03 Maio 2023, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 63 vezes e gostou 0 espectadores. Boa visualização!