filmov
tv
Tuples in Python: The Forgotten Data Structure

Показать описание
In this tutorial we will focus on a complete walk through of a Python tuple data structure.
A Python tuple is a sequence data type that allows us to combine several items in one comma-separated data instance.
A tuple can contain elements of the same or different data types and it is immutable, which means that we can't alter the size and content of a tuple object in Python after it is created (without converting it to different data structures and creating new tuples).
⭐️ Timeline
0:00 - Introduction
0:52 - Creating a tuple
3:29 - Accessing an element from a tuple
7:21 - Slicing a tuple
11:35 - Conclusion
📄 Resources
🔗 My Social Media
🎬 My YouTube Equipment
--------------------------------------------------------------------------------------------------------------
⭐️ Tags
- Python Set
- Python Set Tutorial
A Python tuple is a sequence data type that allows us to combine several items in one comma-separated data instance.
A tuple can contain elements of the same or different data types and it is immutable, which means that we can't alter the size and content of a tuple object in Python after it is created (without converting it to different data structures and creating new tuples).
⭐️ Timeline
0:00 - Introduction
0:52 - Creating a tuple
3:29 - Accessing an element from a tuple
7:21 - Slicing a tuple
11:35 - Conclusion
📄 Resources
🔗 My Social Media
🎬 My YouTube Equipment
--------------------------------------------------------------------------------------------------------------
⭐️ Tags
- Python Set
- Python Set Tutorial