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
Do sheeps sleep?
Can I use notepad ++ for python?
How dir() function is used in python?
How python supports encapsulation with respect to functions?
If you installed a module with pip but it doesn’t import in your idle, what could it possibly be?
Which is better java or python?
How does pop function works in set data types?
How can you create empty numpy array in python?
What are the types of python?
How would you display a file’s contents in reversed order?
Is anaconda good for python?
What is a static relationship?
Can __ init __ return value?
Is there a switch or case statements in python?if not what is the reason for the same?
What are middlewares in python?