Python Tutorials - Python for Beginners | Tuple Indexing, Slicing and Swapping Two values
Zhagaram Tech
In this tutorial, we gonna learn about Tuple indexing, slicing, and swapping two values.
A tuple is created by placing all the objects inside parentheses () (optional) , separated by commas. A tuple is a collection of objects which ordered and immutable. creating new tuple called packing, while in unpacking we extract those values back into variables.
Tuple elements can be accessed using a numerical index in square brackets Tuple indexing is also zero-based. Tuple slicing refers to accessing a specific portion or a subset of the Tuple for some operation while the original Tuple remains unaffected
In this channel, we gonna learn about programming language in Tamil. Python, Artificial Intelligent, Machine learning, Deep learning, Quantum computer, and Statistics in Tamil. Deep explanation about the programming language in Tamil. ... https://www.youtube.com/watch?v=h_4z1sKFzwA
7535967 Bytes