This Python tutorial will help you understand what is slicing, how to use slicing in Python, the syntax for slicing and a demo in simple python programming. Slicing is the extraction of a part of a string, list or tuple. Slicing allows you to create a subset of the tuple. To slice a tuple, mention the indices of the first element and that of the element immediately after the last element. This is because while the first index is inclusive, the second one is not. The same is applicable to lists. You can also use negative indices to slice lists. Now, let us get started and understand how to do slicing in Python.
Below topics are explained in this Python Slicing tutorial:
1. What is slicing in Python? (0:21)
2. Slice() function (1:29)
3. Demo (2:18)
To learn more about Python Programming, subscribe to our YouTube channel:
To get access to the slides, click here:
Watch more videos on Python Training:
#pythontutorial #pythonregex #pythonprogrammingforbeginners #pythontraining #pythontutorialforbeginners #numpypythontutorial #pythonsimplilearn #simplilearn
Simplilearn’s Python Training Course is an all-inclusive program that will introduce you to the Python development language and expose you to the essentials of object-oriented programming, web development with Django and game development. Python has surpassed Java as the top language used to introduce U.S. students to programming and computer science. This course will give you hands-on development experience and prepare you for a career as a professional Python programmer.
What is this course about?
The All-in-One Python course enables you to become a professional Python programmer. Any aspiring programmer can learn Python from the basics and go on to master web development & game development in Python. Gain hands-on experience creating a flappy bird game clone & website functionalities in Python.
What are the course objectives?
By the end of this online Python training course, you will be able to:
1. Internalize the concepts & constructs of Python
2. Learn to create your own Python programs
3. Master Python Django & advanced web development in Python
4. Master PyGame & game development in Python
5. Create a flappy bird game clone
The Python training course is recommended for:
1. Any aspiring programmer can take up this bundle to master Python
2. Any aspiring web developer or game developer can take up this bundle to meet their training needs
Learn more at:
For more information about Simplilearn courses, visit:
Get the Android app:
Get the iOS app: