Slicing on a Python Tuple || Python Tuple || Python Data Structures - Part 10
Автор: Programming In Python
Загружено: 2023-01-21
Просмотров: 185
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 || Python T...
Python Pattern Programming - Letter Patterns from A to Z: • Letter Patterns
Website: http://programminginpython.com
Facebook: https://www.facebook.com/programminginpython
Google +: https://plus.google.com/+Programminginpython
GitHub: https://github.com/avinashn/programminginp...
Medium: https://medium.com/programminginpython-com
Twitter: https://twitter.com/python_pip
~-~~-~~~-~~-~
Please watch my Latest Tutorial: "Merge Sort Algorithm in Python || Sorting Algorithms || programminginpython.com"
• Merge Sort Algorithm in Python || Sorting ...
~-~~-~~~-~~-~
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: