#shorts
This quick video demonstrates using a list in Python. This is intended for those who are new to Python. A list is a construct which can store zero or more values inside of them. Lists can be defined within [ and ], or by using list(). For the purpose of learning lists (and many other purposes in general), it doesn't really matter if you use [ ] or list() to define a list.
Examples:
List of strings
list_var = ['value 1', 'value 2', 'value 2']
List of numbers
list_var2 = [1, 5, 7, 2]
List of strings using list()
list_var3 = list('value 1', 'value 2')
Nesta página do site você pode assistir ao vídeo on-line Python Programming, Lists duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Quick Programming Concepts 16 Março 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 442 vezes e gostou 8 espectadores. Boa visualização!