Python - Create Empty List

Publicado em: 23 Junho 2024
no canal de: ProgramGuru
857
7

Question
========
How to create an empty list in Python?

Answer
======
The first way is to write an open square bracket followed by a close square bracket. And assign this expression to a variable.
Another way to create an empty list is using the list() built-in function. Call list() function with no arguments and assign the result to a variable.

Reference
========
https://programguru.org/python/how-to...


Nesta página do site você pode assistir ao vídeo on-line Python - Create Empty List duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário ProgramGuru 23 Junho 2024, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 857 vezes e gostou 7 espectadores. Boa visualização!