Answer Posted / glibwaresoftsolutions
Slicing is a method for gaining access to particular segments of sequences, including strings, tuples, and lists. The syntax used for slicing is []. You can optionally omit this step. All sequence elements from the start (inclusive) to the end-1 start:end:step element are returned by the [start:end] function. It indicates that there is a negative i at the end of the start or end element. The number of components that need to be skipped or the jump is represented by the step.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a super constructor?
Explain the use of // operator in python?
What are methods in python?
Tell me what is the difference between list and tuple?
Is python an oops?
Can you explain the life cycle of a thread?
What is python list function?
What are the 3 types of relation?
What are literals in python?
How to clone or copy a list?
What is flatmap in python?
Write a program to produce fibonacci series in python.
How do you disconnect from the database?
Is there a reverse function in python?
What do you know about the python enumerate?