Python! Tuples
Adrian Dolinay
Tutorial introducing the tuple class in Python. Learn different methods to create tuples, access elements within a tuple by indexing/slicing/striding and review tuple built-in functions.
The notebook can be found in the "Python" folder within the below repo. GitHub Repo - https://github.com/ad17171717/YouTube-Tutorials/blob/main/Python/Python!_Tuples.ipynb
CONNECT: LinkedIn: https://www.linkedin.com/in/adrian-dolinay-frm-96a289106/ GitHub: https://github.com/ad17171717 Twitter: https://twitter.com/DolinayG Odysee: https://odysee.com/@adriandolinay:0 Medium: https://medium.com/@adriandolinay
|-Video Chapters-| 0:00 - Intro 0:08 - Tuple definition 0:28 - Different methods to create tuples 3:30 - Comparing tuple memory size to other objects 4:59 - Comparing the time to create various objects 5:19 - Indexing, slicing and striding tuples 6:32 - Testing the immutability of tuples 7:25 - Iterating over elements in a tuple 7:52 - Tuple built-in functions 8:37 - Setting a tuple as a dictionary key 9:30 - Additional sequence operations for tuples 9:44 - References and additional learning ... https://www.youtube.com/watch?v=q0PWFMMQM8Y
30353984 Bytes