Slicing on a Python Tuple || Python Tuple || Python Data Structures - Part 10

Published: 21 January 2023
on channel: Programming In Python
91
3

Python Data Structures - Python Tuples - Slicing on Python Tuples

""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
DataCamp premium Subscription at $49/year.
https://datacamp.pxf.io/oeAYeb
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

The concept of slicing on a Python tuple is covered in this video:
Slicing allows us to get sublist of a main list.
Syntax: lst[start:stop:step]
start refers to the index of the element which is used as a start of our slice.
stop refers to the index of the element we should stop just before to finish our slice.
step allows you to take each nth-element within a start:stop range


More Programs on Python Tuple:
   • Introduction To Python Tuples ||  Pyt...  


Python Pattern Programming - Letter Patterns from A to Z:    • Letter Patterns  


Website: http://programminginpython.com
Facebook:   / programminginpython  
Google +: https://plus.google.com/+Programmingi...
GitHub: https://github.com/avinashn/programmi...
Medium:   / programminginpython  
Twitter:   / python_pip  

~-~~-~~~-~~-~
Please watch my Latest Tutorial: "Merge Sort Algorithm in Python || Sorting Algorithms || programminginpython.com"
   • Merge Sort Algorithm in Python || Sor...  
~-~~-~~~-~~-~


On this page of the site you can watch the video online Slicing on a Python Tuple || Python Tuple || Python Data Structures - Part 10 with a duration of hours minute second in good quality, which was uploaded by the user Programming In Python 21 January 2023, share the link with friends and acquaintances, this video has already been watched 91 times on youtube and it was liked by 3 viewers. Enjoy your viewing!