What is the function of slicing operation ?

Question :

What is the function of slicing operation ?

We can retrieve a slice (substring) of a string with a slice operation. The slicing operation is used by specifying the name of the sequence, followed by an optional pair of numbers separated by an optional pair of numbers separated by a colon, enclosed within square brackets.


CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad