Answer Posted / nashiinformaticssolutions
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 are the immutable build-in data types of python?
How to count the number of instance?
What is uuid used for?
Do you know why lambda forms in python does not have statements?
What does tuple mean?
How do you take input in python?
Does python have a switch-case statement?
What is a raw string in python?
What are decorators in python and how do you use them?
Is set nesting implemented in python?
What type of a language is python? Interpreted or Compiled?
Where is python used in real world?
What is a pep python?
How memory is managed in python?
Tell me how memcached should not be used in your python project?