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.


Latest Current Affairs 2024 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad