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

Published: 18 August 2024
on channel: 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.


On this page of the site you can watch the video online Python for Beginners - 09 | Built-in Data Types | [Tuples] with a duration of hours minute second in good quality, which was uploaded by the user E-Skillation 18 August 2024, share the link with friends and acquaintances, this video has already been watched 12 times on youtube and it was liked by 3 viewers. Enjoy your viewing!