Python Slicing | Python Slicing Strings & Lists | Python Tutorial | Python Programming | Simplilearn

///Python Slicing | Python Slicing Strings & Lists | Python Tutorial | Python Programming | Simplilearn

Python Slicing | Python Slicing Strings & Lists | Python Tutorial | Python Programming | Simplilearn

FavoriteLoadingAdd to favorites

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:
– Facebook:
– Twitter:
– LinkedIn:
– Website:

Get the Android app:
Get the iOS app:

source

By |2020-12-16T11:15:12+00:00December 16th, 2020|Python Video Tutorials|8 Comments

8 Comments

  1. Simplilearn December 16, 2020 at 11:15 am - Reply

    Interested in programming? Here is your one-stop destination to kick-start your programming journey for Free! Subscribe to our new channel #SimpliCode : https://bit.ly/3eGepgQ

  2. Shaamir Iqubal December 16, 2020 at 11:15 am - Reply

    hey i was looking for your latest video plzzzz help me with this python coding I know this video is for something else but stil plzzzzzzzzzzzzzzzzzzzzzz helpppppppppppppppppppppppppppppp

    To enter a string and display its length, print in uppercase, Capitalize it, slice it in 3 different words. ( string entered is :

    ‘tagore international school’

  3. Akhilesh Reddy December 16, 2020 at 11:15 am - Reply

    Python slice operator

    s='0123456789'
    s[2:-1:-1]

    Please answer sir

  4. Riggins Riggins December 16, 2020 at 11:15 am - Reply

    Great information but can't keep up as the pace is too fast.

  5. Sahana Sahana December 16, 2020 at 11:15 am - Reply

    sqs = [0, 1, 4, 9, 16, 25, 36, 49, 64, 81]

    print(sqs[7:5:-1]) (7:5) is 49 64 81.. i dont knw here. I dont have 5 elements from the index[7] = 49. Can you please Can you please explain how it works… I know the answer but I want to know how it actually works…. what happns in the background.

  6. sathish babu December 16, 2020 at 11:15 am - Reply

    Nice explanation, Good job. Thanks

  7. Simplilearn December 16, 2020 at 11:15 am - Reply

    Do you have any questions on this topic? Please share your feedback in the comment section below and we'll have our experts answer it for you. Thanks for watching the video. Cheers!

  8. Jhonatan da Silva December 16, 2020 at 11:15 am - Reply

    For inline loops help as well

Leave A Comment

*