Python for Beginners - 09 | Built-in Data Types | [Tuples]

Publicado em: 18 Agosto 2024
no canal de: E-Skillation
12
3

[What are Tuples] - A tuple is an ordered, immutable collection of elements.
[Syntax of Tuples] - Almost similar to lists but enclosed with round brackets.
[Mutability of Tuples] - Tuples are immutable where, it does not even allow changes to the items once created.
[Lists vs Tuples] - Lists are mutable and allows changes and updates but, tuples are immutable where it does not allow any changes to the items once created.
[Other features of Tuples] - No limit to items or data types inside a tuple,
Indexing is similar to lists, should have at least 1 comma separated value, not necessarily enclose it with round brackets if items are separated
[Packing Tuples] - Creating items by separating it with comma.
[Unpacking Tuples] - Splitting the items from a single tuple to multiple variables.


Nesta página do site você pode assistir ao vídeo on-line Python for Beginners - 09 | Built-in Data Types | [Tuples] duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário E-Skillation 18 Agosto 2024, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 12 vezes e gostou 3 espectadores. Boa visualização!